New way of calling the program

python -m morss, python morss/main.py
This commit is contained in:
2015-03-11 14:23:14 +08:00
parent 656b29e0ef
commit b3572e143d
3 changed files with 13 additions and 5 deletions

4
morss/__main__.py Normal file
View File

@@ -0,0 +1,4 @@
from .morss import main
if __name__ == '__main__':
main()