Przeglądaj źródła

Fix error when no arguments are provided

master
JustAnotherArchivist 1 rok temu
rodzic
commit
5ba7d26621
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      ia-cdx-search

+ 1
- 1
ia-cdx-search Wyświetl plik

@@ -133,7 +133,7 @@ def usage():


args = sys.argv[1:]
if args[0].lower() in ('-h', '--help'):
if not args or args[0].lower() in ('-h', '--help'):
usage()
kwargs = {}
while args[0].startswith('--'):


Ładowanie…
Anuluj
Zapisz