Browse Source

if name == '__main__'

master
Trevor Richards 3 years ago
parent
commit
83cef6ce42
  1. 2
      launcher.py

2
launcher.py

@ -3,5 +3,5 @@ from factory import create_app
app = create_app(os.getenv('FLASK_ENV', 'dev'))
if __name__ == 'main':
if __name__ == '__main__':
app.run()
Loading…
Cancel
Save