summaryrefslogtreecommitdiff
path: root/src/common.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-05-24 21:52:12 +0200
committerFlorent Le Coz <louiz@louiz.org>2013-05-24 21:52:12 +0200
commit3356cac9ce27b69c1632c96bc40c2269b63db5b0 (patch)
tree90b3dc66dfb0f5f844e2e150654d4e473d35f93e /src/common.py
parentab5a5f3aae2507e9124b7b9109f7f34251c14085 (diff)
downloadpoezio-3356cac9ce27b69c1632c96bc40c2269b63db5b0.tar.gz
poezio-3356cac9ce27b69c1632c96bc40c2269b63db5b0.tar.bz2
poezio-3356cac9ce27b69c1632c96bc40c2269b63db5b0.tar.xz
poezio-3356cac9ce27b69c1632c96bc40c2269b63db5b0.zip
Fix a stupid traceback (common.datetime_tuple)
Diffstat (limited to 'src/common.py')
-rw-r--r--src/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.py b/src/common.py
index 987c93a9..d861fea4 100644
--- a/src/common.py
+++ b/src/common.py
@@ -215,7 +215,7 @@ def find_delayed_tag(message):
delay_tag = message.find('{jabber:x:delay}x')
if delay_tag is not None:
delayed = True
- date = common.datetime_tuple(delay_tag.attrib['stamp'])
+ date = datetime_tuple(delay_tag.attrib['stamp'])
else:
delayed = False
date = None