summaryrefslogtreecommitdiff
path: root/src/keyboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.py')
-rwxr-xr-xsrc/keyboard.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/keyboard.py b/src/keyboard.py
index 3e65d33c..34b1c185 100755
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -180,9 +180,8 @@ class Keyboard(object):
self.escape = False
return ret_list
-keyboard = Keyboard()
-
if __name__ == '__main__':
+ keyboard = Keyboard()
s = curses.initscr()
curses.noecho()
curses.cbreak()