Skip to content

Commit

Permalink
Renamed *-print.php to *-atlas.php everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Migurski committed Apr 6, 2012
1 parent 3ae263d commit c748557
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions decoder/apiutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ def update_print(apibase, password, print_id, progress):
params = urlencode(dict(progress=progress, password=password))

req, path = _prepare_http_connection(apibase)
req.request('POST', path + '/update-print.php?' + query, params, headers)
req.request('POST', path + '/update-atlas.php?' + query, params, headers)
res = req.getresponse()

assert res.status == 200, 'POST to update-print.php resulting in status %s instead of 200' % res.status
assert res.status == 200, 'POST to update-atlas.php resulting in status %s instead of 200' % res.status

return

Expand All @@ -48,10 +48,10 @@ def finish_print(apibase, password, print_id, print_info):
params = urlencode(print_info)

req, path = _prepare_http_connection(apibase)
req.request('POST', path + '/finish-print.php?' + query, params, headers)
req.request('POST', path + '/finish-atlas.php?' + query, params, headers)
res = req.getresponse()

assert res.status == 200, 'POST to finish-print.php resulting in status %s instead of 200' % res.status
assert res.status == 200, 'POST to finish-atlas.php resulting in status %s instead of 200' % res.status

return

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c748557

Please sign in to comment.