Skip to content
Snippets Groups Projects
Commit db40f246 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(controller.loop): Simplify code.

parent 2b56753d
No related branches found
No related tags found
No related merge requests found
...@@ -171,7 +171,7 @@ class controller: ...@@ -171,7 +171,7 @@ class controller:
debug("Waiting for input on %s" % r) debug("Waiting for input on %s" % r)
else: else:
debug("Polling for input on %s" % r) debug("Polling for input on %s" % r)
(r, w, e) = select.select([x for x in self.__inputs], [], [], t) (r, w, e) = select.select(list(self.__inputs), [], [], t)
self.__acted = False self.__acted = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment