summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3dc2cc5)
Micro-optimization, to be honest.
if k.split('_')[-1] == 'books':
for bid in form.getall(k):
books_ids.append(bid)
if k.split('_')[-1] == 'books':
for bid in form.getall(k):
books_ids.append(bid)
- download_path = get_config().getpath('download', 'path')
+ download_path = get_config().getpath('download', 'path')
for bid in books_ids:
book = Book.get(int(bid))
download(book, download_path)
for bid in books_ids:
book = Book.get(int(bid))
download(book, download_path)