print out correction after->before
This commit is contained in:
parent
c38138b41b
commit
0b6f3c9a6b
@ -404,7 +404,7 @@ if __name__ == '__main__':
|
|||||||
unwatched_lst += unwatched_work(sectionID=_library.key, date=date)
|
unwatched_lst += unwatched_work(sectionID=_library.key, date=date)
|
||||||
|
|
||||||
if opts.action == 'show':
|
if opts.action == 'show':
|
||||||
print("The following items were added after {}".format(opts.date))
|
print("The following items were added before {}".format(opts.date))
|
||||||
for item in unwatched_lst:
|
for item in unwatched_lst:
|
||||||
added_at = datetime.datetime.utcfromtimestamp(float(item.added_at)).strftime("%Y-%m-%d")
|
added_at = datetime.datetime.utcfromtimestamp(float(item.added_at)).strftime("%Y-%m-%d")
|
||||||
print(" {} added {}\n File: {}".format(item.title, added_at, item.file))
|
print(" {} added {}\n File: {}".format(item.title, added_at, item.file))
|
||||||
|
Loading…
Reference in New Issue
Block a user