Skip to content

Commit

Permalink
Fix for edscupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Jan 18, 2015
1 parent 34de6d1 commit fac517e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edscupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
startSys = tdb.lookupPlace(sys.argv[1])
ox, oy, oz = startSys.posX, startSys.posY, startSys.posZ

if len(sys.argv) > 1:
if len(sys.argv) > 2:
date = sys.argv[2]
if not date.startswith("201"):
print("ERROR: Invalid date {}".format(date))
Expand Down

0 comments on commit fac517e

Please sign in to comment.