Переглянути джерело

Fixed extending the list properly oops.

master
Trey Del Bonis 2 роки тому
джерело
коміт
69a07238b3
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      searchwkr.py

+ 1
- 1
searchwkr.py Переглянути файл

@@ -22,7 +22,7 @@ def main(argv):
print(json.dumps(res, indent=' '))

# Save the urls we've seen now.
recents_before['urls'].append(list(map(lambda e: e['u'], res)))
recents_before['urls'].extend(map(lambda e: e['u'], res))
save_recents(recents_before)

# Now send them up.

Завантаження…
Відмінити
Зберегти