changeset 127:f5d8d6124434

spelling Ignore-this: 45f7ece177ce345fc6c0c1a4e141b979
author drewp@bigasterisk.com
date Mon, 07 Oct 2013 23:07:34 -0700
parents a8e19321d63f
children 06ad4a0f42c0
files service/shuttlepro/shuttlepro.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/service/shuttlepro/shuttlepro.py	Mon Oct 07 23:04:57 2013 -0700
+++ b/service/shuttlepro/shuttlepro.py	Mon Oct 07 23:07:34 2013 -0700
@@ -370,7 +370,7 @@
         if 'key' in what:
             g.add((SHUTTLEPRO['button%s' % what['key']['button']],
                    ROOM['state'],
-                   ROOM['pres'] if what['key']['press'] else ROOM['release']))
+                   ROOM['press'] if what['key']['press'] else ROOM['release']))
         elif 'shuttle' in what:
             # this will send lots of repeats. It's really not a one-shot at all.
             g.add((SHUTTLEPRO['shuttle'], ROOM['position'],