X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/d46203541c7463746edf19344d3ddbd1fb412128..b33b3ccf6aedaec3d33968d126131e3690319b90:/dispatcher.py?ds=sidebyside diff --git a/dispatcher.py b/dispatcher.py index addd45f..29cff6e 100644 --- a/dispatcher.py +++ b/dispatcher.py @@ -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__':