Adds start.py script to start the server and launch a new browser tab #17

This commit is contained in:
Marcus McCurdy 2015-01-26 14:09:49 -05:00
parent 6cedaa8e8f
commit d1e2cb1a6d
2 changed files with 20 additions and 7 deletions

View file

@ -1,9 +1,13 @@
#!/usr/bin/env python
try:
from src import main
main.start()
except Exception, err: # Prevent closing
import traceback
traceback.print_exc()
raw_input("-- Error happened, press enter to close --")
def main():
try:
from src import main
main.start()
except Exception, err: # Prevent closing
import traceback
traceback.print_exc()
raw_input("-- Error happened, press enter to close --")
if __name__ == '__main__':
main()