mirror of https://github.com/Syncplay/syncplay
Add enter-to-exit prompt when EXE console is missing args
This commit is contained in:
parent
cf3d17edbb
commit
e21cd2604f
|
@ -412,6 +412,8 @@ class ConfigurationGetter(object):
|
|||
if error:
|
||||
print("{}!".format(error))
|
||||
print(getMessage("missing-arguments-error"))
|
||||
if utils.isWindowsConsole():
|
||||
input(getMessage("enter-to-exit-prompt"))
|
||||
sys.exit()
|
||||
else:
|
||||
from syncplay.ui.GuiConfiguration import GuiConfiguration
|
||||
|
|
Loading…
Reference in New Issue