summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2011-04-12 22:19:46 +0300
committerAntti Ajanki <antti.ajanki@iki.fi>2011-04-12 22:19:46 +0300
commit8ff0108b41c580004da45f5cb054cfadfcc44b2a (patch)
tree70eaa1c8a59a8fff7025d8c15e56e06083a5b49d /src
parentae8032e04fa63e67502728c806a8ce482701dc22 (diff)
downloadvdr-plugin-webvideo-8ff0108b41c580004da45f5cb054cfadfcc44b2a.tar.gz
vdr-plugin-webvideo-8ff0108b41c580004da45f5cb054cfadfcc44b2a.tar.bz2
syntax
Diffstat (limited to 'src')
-rw-r--r--src/webvicli/webvicli/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webvicli/webvicli/client.py b/src/webvicli/webvicli/client.py
index 4a4cf65..cffae15 100644
--- a/src/webvicli/webvicli/client.py
+++ b/src/webvicli/webvicli/client.py
@@ -311,7 +311,7 @@ class WVClient:
finished, status, errmsg, remaining = webvi.api.pop_message()
if finished == handle:
return (status, errmsg)
- else if finished != -1:
+ elif finished != -1:
return (501, 'Unexpected handle (got %d, expected %d)' % (finished, handle))
else:
return (501, 'No active sockets')