Skip to content

Commit

Permalink
Merged in chmarr/tradedangerous/mine (pull request #100)
Browse files Browse the repository at this point in the history
Use the argv that is passed in rather than sys.argv
  • Loading branch information
kfsone committed Feb 3, 2015
2 parents 24ab971 + d7cfd53 commit b0caa57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trade.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

def main(argv):
cmdIndex = commands.CommandIndex()
cmdenv = cmdIndex.parse(sys.argv)
cmdenv = cmdIndex.parse(argv)

tdb = tradedb.TradeDB(cmdenv, load=cmdenv.wantsTradeDB)
if cmdenv.usesTradeData:
Expand Down

0 comments on commit b0caa57

Please sign in to comment.