summaryrefslogtreecommitdiff
path: root/python/ldtp2
diff options
context:
space:
mode:
Diffstat (limited to 'python/ldtp2')
-rwxr-xr-xpython/ldtp22
1 files changed, 1 insertions, 1 deletions
diff --git a/python/ldtp2 b/python/ldtp2
index 8050c1a..8207d4f 100755
--- a/python/ldtp2
+++ b/python/ldtp2
@@ -240,7 +240,7 @@ class ClientThread:
try:
_requestPacket = self.packet.recv ()
except LdtpExecutionError, msg:
- if msg.value == 'Timeout':
+ if str(msg) == 'Timeout':
continue
# Client connection broke
# Let us close the socket