Skip to content

Commit

Permalink
Made the calling of the commandFunction from args easier to read
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Oct 25, 2014
1 parent 1ede5ce commit 0740fcf
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 @@ -1043,7 +1043,8 @@ def main():
tdb = TradeDB(debug=args.debug, dbFilename=args.db)

# run the commands
return args.proc(args)
commandFunction = args.proc
return commandFunction(args)


######################################################################
Expand Down

0 comments on commit 0740fcf

Please sign in to comment.