Skip to content

Commit

Permalink
BLD: remove the analyze method in case it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
AvishaiW committed Jul 25, 2018
1 parent 51c97dd commit 027c606
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions catalyst/utils/run_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ def run_server(
simulate_orders,
auth_aliases,
stats_output,
):

):
# address to send
url = 'https://34.202.72.107/api/catalyst/serve'
# url = 'http://127.0.0.1:5000/api/catalyst/serve'

# argument preparation - encode the file for transfer
algofile, algotext = prepare_args(algofile, algotext)
if algotext or algofile:
# argument preparation - encode the file for transfer
algofile, algotext = prepare_args(algofile, algotext)

json_file = {'arguments': {
'initialize': initialize,
Expand Down

0 comments on commit 027c606

Please sign in to comment.