Skip to content

Commit

Permalink
feat: command for frozen script
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Nov 25, 2018
1 parent f2467f3 commit fd7db6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions topicsexplorer.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python3

import argparse
import sys
import webbrowser

import application
Expand All @@ -22,5 +23,7 @@
if args.browser:
webbrowser.open("http://localhost:5000/")
application.views.web.run()
elif getattr(sys, "frozen", False):
application.views.web.run()
else:
application.gui.run()

0 comments on commit fd7db6d

Please sign in to comment.