FIX:(#1788) pull-list would result in microseconds error

This commit is contained in:
evilhero 2017-11-25 20:14:44 -05:00
parent ea34294006
commit 28666178f2
1 changed files with 2 additions and 2 deletions

View File

@ -2859,8 +2859,8 @@ def weekly_info(week=None, year=None):
weekdst = mylar.CONFIG.DESTINATION_DIR
if mylar.SCHED_WEEKLY_LAST is not None:
weekly_last = datetime.datetime.fromtimestamp(mylar.SCHED_WEEKLY_LAST)
weekly_last = weekly_last.replace(microseconds=0)
weekly_stamp = datetime.datetime.fromtimestamp(mylar.SCHED_WEEKLY_LAST)
weekly_last = weekly_stamp.replace(microsecond=0)
else:
weekly_last = 'None'