mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Cleanup
This commit is contained in:
1 parent
d4067fcb6d
commit
7fd46e0b0d
1 file changed
+1
-1
+1
-1
@@ -189,7 +189,7 @@ def http(*args, **kwargs):
|
||||
if '--debug' not in args:
|
||||
if '--traceback' not in args:
|
||||
extra_args.append('--traceback')
|
||||
if '--timeout' not in ' '.join(args):
|
||||
if not any('--timeout' in arg for arg in args):
|
||||
extra_args.append('--timeout=3')
|
||||
args = extra_args + args
|
||||
|
||||
|
||||
Reference in new issue
Block a user