Skip to content

Commit

Permalink
Fixed origin/dest/via always showing 'any'
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Jul 12, 2014
1 parent a146d06 commit 3fa7a4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trade.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def __repr__(self):
######################################################################

def parse_command_line():
global args, origins, originStation, finalStation, viaStation, avoidItems, maxUnits
global args, origins, originStation, finalStation, viaStation, avoidItems, maxUnits, \
originName, destName, viaName

parser = argparse.ArgumentParser(description='Trade run calculator')
parser.add_argument('--from', dest='origin', metavar='<Origin>', help='Specifies starting system/station', required=False)
Expand Down

0 comments on commit 3fa7a4f

Please sign in to comment.