Skip to content

Commit

Permalink
Allow usage on named pipes, not just ordinary files
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Apr 16, 2020
1 parent 1a1b1bb commit 3bdafb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fdiff/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def file_exists(path):
"""Validates file path as existing local file"""
return os.path.isfile(path)
return os.path.exists(path)


def get_file_modtime(path):
Expand Down

0 comments on commit 3bdafb5

Please sign in to comment.