1
0
Fork 0

Go ahead and bail if no ids to update.

master
voussoir 2020-11-09 11:07:34 -08:00
parent 8a2e72b5cf
commit c0a59059f5
1 changed files with 4 additions and 0 deletions

View File

@ -387,6 +387,10 @@ def update_items_argparse(args):
ids = cur.fetchall()
log.info('Updating %d items.', len(ids))
if not ids:
return
ids = [id for (id,) in ids]
items = get_items(ids, threads=args.threads)