Skip to content
Snippets Groups Projects
Commit d76365e9 authored by ulif's avatar ulif
Browse files

Use None as default, not 1.

parent 973592f0
No related branches found
No related tags found
No related merge requests found
......@@ -119,8 +119,8 @@ def get_passphrase(wordnum=6, specialsnum=1, delimiter='', lang='en',
return result
def main(args=1):
if args is 1:
def main(args=None):
if args is None:
args = sys.argv[1:]
options = handle_options(args)
print(get_passphrase(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment