fix printing error

This commit is contained in:
Yann Leboulanger 2014-10-09 22:10:16 +02:00
parent ee4bed8fb7
commit 7af365edda
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class TimeResultReceivedEvent(nec.NetworkIncomingEvent, HelperEvent):
# Remove the trailing "+00:00"
utc_time = utc_time[:-6]
else:
log.info("Wrong timezone defintion: %s" % str(e))
log.info("Wrong timezone defintion: %s" % utc_time)
return
try:
t = datetime.datetime.strptime(utc_time, '%Y-%m-%dT%H:%M:%S')