mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
Fix starting ZeroNet via start.py (#2052)
This commit is contained in:
parent
753396ac0c
commit
1117569148
1 changed files with 1 additions and 1 deletions
2
start.py
2
start.py
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue