Skip to content

Commit f27ca3a

Browse files
committed
Fix bug, wrong variable being tested
1 parent 2a36ddc commit f27ca3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fdiff/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def run(argv):
8484
f"[*] ERROR: The file path '{args.PREFILE}' can not be found.{os.linesep}"
8585
)
8686
sys.exit(1)
87-
if not args.PREFILE.startswith("http") and not file_exists(args.POSTFILE):
87+
if not args.POSTFILE.startswith("http") and not file_exists(args.POSTFILE):
8888
sys.stderr.write(
8989
f"[*] ERROR: The file path '{args.POSTFILE}' can not be found.{os.linesep}"
9090
)

0 commit comments

Comments
 (0)