fix printing error
This commit is contained in:
parent
ee4bed8fb7
commit
7af365edda
|
@ -227,7 +227,7 @@ class TimeResultReceivedEvent(nec.NetworkIncomingEvent, HelperEvent):
|
||||||
# Remove the trailing "+00:00"
|
# Remove the trailing "+00:00"
|
||||||
utc_time = utc_time[:-6]
|
utc_time = utc_time[:-6]
|
||||||
else:
|
else:
|
||||||
log.info("Wrong timezone defintion: %s" % str(e))
|
log.info("Wrong timezone defintion: %s" % utc_time)
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
t = datetime.datetime.strptime(utc_time, '%Y-%m-%dT%H:%M:%S')
|
t = datetime.datetime.strptime(utc_time, '%Y-%m-%dT%H:%M:%S')
|
||||||
|
|
Loading…
Reference in New Issue