mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
Correct a command-line argument parsing bug (#271)
This commit is contained in:
parent
acfb0a6c3f
commit
88230a2111
@ -236,7 +236,7 @@ def main(argv=None):
|
||||
c.password_file = v
|
||||
elif k in ("-o", "--overwrite"):
|
||||
c.overwrite = True
|
||||
elif k in "--hash-algo":
|
||||
elif k == "--hash-algo":
|
||||
c.hash_algo = None if not pypiserver.str2bool(v, c.hash_algo) else v
|
||||
elif k == "--log-file":
|
||||
c.log_file = v
|
||||
|
Loading…
Reference in New Issue
Block a user