Skip to content

Commit

Permalink
BUG: fix cell magic
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Jevnik committed May 24, 2016
1 parent 3ca294d commit 533233f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zipline/utils/run_algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _run(handle_data,
'before_trading_start': before_trading_start,
'analyze': analyze,
} if algotext is None else {
'algo_filename': algofile.name,
'algo_filename': getattr(algofile, 'name', '<algorithm>'),
'script': algotext,
}
).run(
Expand Down

0 comments on commit 533233f

Please sign in to comment.