Skip to content

Commit 3bdafb5

Browse files
committed
Allow usage on named pipes, not just ordinary files
1 parent 1a1b1bb commit 3bdafb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fdiff/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
def file_exists(path):
99
"""Validates file path as existing local file"""
10-
return os.path.isfile(path)
10+
return os.path.exists(path)
1111

1212

1313
def get_file_modtime(path):

0 commit comments

Comments
 (0)