]> git.cworth.org Git - turbot/blobdiff - turbot.py
Convert "make run" to use "flask run" instead of direct python script execution
[turbot] / turbot.py
index 7371dc2ace556b8f5d1a361074096c9685d4ceca..5095d2a39de779b82f5879a00c062b112a7bb753 100755 (executable)
--- a/turbot.py
+++ b/turbot.py
@@ -103,6 +103,3 @@ def rot():
 @slack_events.on("error")
 def handle_error(error):
     app.logger.error("Error from Slack: " + str(error))
-
-if __name__ == '__main__':
-    app.run(debug=True)