Skip to content

Commit

Permalink
minor fix in foliaspec2json
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Nov 17, 2020
1 parent 05ed134 commit 0510297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foliatools/foliaspec2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

def main(var=None):
try:
var = sys.argv[1]
var = sys.argv[2]
if var[0] == '-': var = None
except:
var = None
Expand Down

0 comments on commit 0510297

Please sign in to comment.