We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e830f17 commit defdbbfCopy full SHA for defdbbf
lib/fdiff/__main__.py
@@ -85,12 +85,12 @@ def run(argv):
85
# File path argument validations
86
# -------------------------------
87
88
- if not file_exists(args.PREFILE):
+ if not args.PREFILE.startswith("http") and not file_exists(args.PREFILE):
89
sys.stderr.write(
90
f"[*] ERROR: The file path '{args.PREFILE}' can not be found.{os.linesep}"
91
)
92
sys.exit(1)
93
- if not file_exists(args.POSTFILE):
+ if not args.PREFILE.startswith("http") and not file_exists(args.POSTFILE):
94
95
f"[*] ERROR: The file path '{args.POSTFILE}' can not be found.{os.linesep}"
96
0 commit comments