]> git.llucax.com Git - software/pymin.git/blobdiff - dispatcher.py
Add a simple response to all commands.
[software/pymin.git] / dispatcher.py
index addd45f716a3446b5fa0078875328eb2cdf37d5c..29cff6e88d7909738644b3a6fd4c991349f34878 100644 (file)
@@ -108,7 +108,7 @@ class Dispatcher:
                 raise CommandNotFoundError(command)
             handler = getattr(handler, route[0])
             route = route[1:]
-        handler(*route)
+        return handler(*route)
 
 
 if __name__ == '__main__':