sq Learning better coding practices with Lex

This commit is contained in:
hackrush 2018-07-27 17:53:37 +05:30 committed by Jack Robison
parent ba00498d83
commit 826d2866fa
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -87,8 +87,8 @@ def set_kwargs(parsed_args):
return kwargs return kwargs
def main(): def main(argv=None):
argv = sys.argv[1:] argv = argv or sys.argv[1:]
if not argv: if not argv:
print_help() print_help()
return 1 return 1