Skip to content

Commit

Permalink
fix bug in req parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Sybrandt committed Apr 30, 2020
1 parent 56a562a commit ae4364c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def parse_requirements():
with open("requirements.txt") as req_file:
for line in req_file:
line = line.strip()
if line[0] != '#':
if len(line) > 0 and line[0] != '#':
res.append(line)
return res

Expand Down

0 comments on commit ae4364c

Please sign in to comment.