Remove duplicate .log on filename

This commit is contained in:
mlncn 2021-05-02 19:19:57 -04:00
parent aae27dc4c7
commit cebfc35a20

View file

@ -102,7 +102,7 @@ def prepare_file(utc_start, ext='csv', daily=False):
if (daily): if (daily):
timelog_path += '-' \ timelog_path += '-' \
+ format(logpath_date.month, '02') + '-' \ + format(logpath_date.month, '02') + '-' \
+ format(logpath_date.day, '02') + '.log' + format(logpath_date.day, '02')
timelog_path += '.' + ext timelog_path += '.' + ext
return timelog_path return timelog_path