diff --git a/maloja/proccontrol/control.py b/maloja/proccontrol/control.py index fd2aeba..691e3c0 100644 --- a/maloja/proccontrol/control.py +++ b/maloja/proccontrol/control.py @@ -128,14 +128,13 @@ def main(*args,**kwargs): if "version" in kwargs: print(info.VERSION) + return True else: try: action, *args = args action = actions[action] except (ValueError, KeyError): print("Valid commands: " + " ".join(a for a in actions)) - return + return False return action(*args,**kwargs) - - return True diff --git a/pyproject.toml b/pyproject.toml index 653cc47..d9600f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ classifiers = [ dependencies = [ "bottle>=0.12.16", "waitress>=1.3", - "doreah>=1.9.0, <2", + "doreah>=1.9.1, <2", "nimrodel>=0.8.0", "setproctitle>=1.1.10", #"pyvips>=2.1.16",