Explorar el Código

Filter at the correct time

main
fluffy hace 7 meses
padre
commit
39888fc079
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      zenius.py

+ 2
- 2
zenius.py Ver fichero

@@ -169,9 +169,9 @@ if __name__ == "__main__":
seen_cats = set()
categories = args.categories
while categories:
for url in {cat for cat in categories if cat not in seen_cats}:
for url in categories:
found = mirror(url, args)
seen_cats.add(url)
if args.recurse:
print(f'Recursively fetching categories: {list(found)}')
categories = found
categories = (cat for cat in found if cat not in seen_cats)

Cargando…
Cancelar
Guardar