fix potential out-of-bounds string index error

This commit is contained in:
Martin Konecny 2013-04-25 22:36:21 -04:00
parent 7bf6f3669b
commit ca86d6b68b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class PypoFetch(Thread):
line = line.strip()
if line[0] == "#":
if not len(line) or line[0] == "#"
continue
try: