Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nbxmpp/modules/date_and_time.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/date_and_time.py b/nbxmpp/modules/date_and_time.py
index 4815d28..d024bdd 100644
--- a/nbxmpp/modules/date_and_time.py
+++ b/nbxmpp/modules/date_and_time.py
@@ -147,7 +147,7 @@ def parse_datetime(
match = PATTERN_DATETIME.match(timestring)
if match is None:
- return
+ return None
timestring = ''.join(match.groups(''))
strformat = '%Y-%m-%d%H:%M:%S%z'