PyJSONProxy

simple proxy and scraper
git clone https://git.ce9e.org/PyJSONProxy.git

commit
ccb4d7342b3c6788159d90f0767c1af51d6dd2a2
parent
e3c1e50b02544ba72fb29bfcc1928dee3b24ea5a
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2015-12-03 23:06
Fix debug

Diffstat

M jsonproxy/__init__.py 3 ++-

1 files changed, 2 insertions, 1 deletions


diff --git a/jsonproxy/__init__.py b/jsonproxy/__init__.py

@@ -45,6 +45,7 @@ def main():
   45    45 
   46    46 	app = Flask(__name__)
   47    47 	app.config.from_pyfile(os.path.abspath(args.config))
   -1    48 	app.debug = args.debug
   48    49 
   49    50 	errors = check_config(app.config)
   50    51 	if errors:
@@ -53,7 +54,7 @@ def main():
   53    54 		sys.exit(1)
   54    55 
   55    56 	app.register_blueprint(api)
   56    -1 	app.run(host=args.host, port=args.port, debug=args.debug)
   -1    57 	app.run(host=args.host, port=args.port)
   57    58 
   58    59 
   59    60 if __name__ == '__main__':