Procházet zdrojové kódy

Fix error when no arguments are provided

master
JustAnotherArchivist před 1 rokem
rodič
revize
5ba7d26621
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      ia-cdx-search

+ 1
- 1
ia-cdx-search Zobrazit soubor

@@ -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('--'):


Načítá se…
Zrušit
Uložit