Make "frestart normalmode" behave as intended.
This commit is contained in:
parent
932d9f45f4
commit
e2c5c819d6
@ -428,7 +428,7 @@ def restart_program(cli, nick, chan, rest):
|
|||||||
if rest.strip().lower() == "debugmode":
|
if rest.strip().lower() == "debugmode":
|
||||||
os.execl(python, python, sys.argv[0], "--debug")
|
os.execl(python, python, sys.argv[0], "--debug")
|
||||||
elif rest.strip().lower() == "normalmode":
|
elif rest.strip().lower() == "normalmode":
|
||||||
os.execl(python, python, sys.argv[0])
|
os.execl(python, python, sys.argv[0], "--normal")
|
||||||
elif rest.strip().lower() == "verbosemode":
|
elif rest.strip().lower() == "verbosemode":
|
||||||
os.execl(python, python, sys.argv[0], "--verbose")
|
os.execl(python, python, sys.argv[0], "--verbose")
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user