From f8156e3dc8c7c3c165b3b1d7f417736f06cb0e0d Mon Sep 17 00:00:00 2001 From: bkfox Date: Wed, 30 Dec 2015 14:38:51 +0100 Subject: [PATCH] fix typo -- sth like python's syntax --- liquidsoap/management/commands/liquidsoap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidsoap/management/commands/liquidsoap.py b/liquidsoap/management/commands/liquidsoap.py index 57f902c..e6d9c5b 100644 --- a/liquidsoap/management/commands/liquidsoap.py +++ b/liquidsoap/management/commands/liquidsoap.py @@ -175,7 +175,7 @@ class Monitor: last_obj = last_log.related_object if type(last_obj) == programs.Sound and on_air == last_obj.path: if not last_obj.duration or \ - now < log.date + programs_utils.to_timedelta(last_obj.duration) + now < log.date + programs_utils.to_timedelta(last_obj.duration): return sound = programs.Sound.objects.filter(path = on_air)