Fix starting ZeroNet via start.py (#2052)

This commit is contained in:
Ivanq 2019-06-28 01:58:58 +03:00 committed by ZeroNet
parent 753396ac0c
commit 1117569148

View file

@ -11,7 +11,7 @@ import zeronet
def main():
if "--open_browser" not in sys.argv:
sys.argv = [sys.argv[0]] + ["--open_browser", "default_browser"] + sys.argv[1:]
zeronet.main()
zeronet.start()
if __name__ == '__main__':
main()