start to work on stats

This commit is contained in:
bkfox
2016-10-25 16:50:58 +02:00
parent 3ab373097b
commit 76055c742a
8 changed files with 189 additions and 53 deletions

View File

@ -137,7 +137,7 @@ class Command (BaseCommand):
group.add_argument(
'--check', action='store_true',
help='check unconfirmed later diffusions from the given '
'date again'\'t schedule. If no schedule is found, remove '
'date agains\'t schedule. If no schedule is found, remove '
'it.'
)

View File

@ -105,7 +105,8 @@ class Monitor:
source = current_source.id,
date = tz.now(),
related = sound[0] if sound else None,
comment = None if sound else current_sound,
# keep sound path (if sound is removed, we keep that info)
comment = current_sound,
)
def trace_sound_tracks(self, log):