diff --git a/collegamento/client_server/server.py b/collegamento/client_server/server.py index 37ddef0..a7bff29 100644 --- a/collegamento/client_server/server.py +++ b/collegamento/client_server/server.py @@ -143,7 +143,12 @@ def run_tasks(self) -> None: for request in request_list ] - requests_list = sorted(requests_list, key=lambda request: command_sort_func(request, self.priority_commands)) + requests_list = sorted( + requests_list, + key=lambda request: command_sort_func( + request, self.priority_commands + ), + ) for request in requests_list: if request is None: