Mild refactoring & adds debug statements
diff --git a/asterix-examples/src/main/resources/black-cherry/run_black_cherry.py b/asterix-examples/src/main/resources/black-cherry/run_black_cherry.py
index d78514b..8616438 100755
--- a/asterix-examples/src/main/resources/black-cherry/run_black_cherry.py
+++ b/asterix-examples/src/main/resources/black-cherry/run_black_cherry.py
@@ -30,6 +30,8 @@
chunk = urlresponse.read(CHUNK)
if not chunk: break
urlresult += chunk
+
+ # QUERY ISSUE 2: UNCOMMENT THIS TO SEE WEIRD BUG
urlresult = ','.join(urlresult.split(']}{"results":['))
# Create JSON dump of resulting response
@@ -71,4 +73,4 @@
return (build_response("update", dict(request.query)))
res = black_cherry_bootstrap.bootstrap()
-run(host='localhost', port=8080, debug=True)
\ No newline at end of file
+run(host='localhost', port=8080, debug=True)