added __main__.py and corrected import order in __init__.py

This commit is contained in:
Tobias Kurze
2019-03-12 16:48:01 +01:00
parent 3c4e3719d7
commit c8b01b450b
3 changed files with 19 additions and 5 deletions

13
__main__.py Normal file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2019. Tobias Kurze
from backend import app
def main():
app.run(debug=True)
if __name__ == '__main__':
main()