logging minor

This commit is contained in:
boyska 2017-07-10 13:15:37 +02:00
parent 0fe9fe0304
commit 422f38015c
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -114,8 +114,8 @@ class FrequencyAlarm(Alarm):
current_time = ring current_time = ring
continue continue
return ring return ring
log.warning("Can't find a valid time for event; " log.warning("Can't find a valid time for event %s; "
"something went wrong") "something went wrong", str(self))
return None return None
def has_ring(self, current_time=None): def has_ring(self, current_time=None):