projects
/
osm
/
common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix fslocal file_exists
[osm/common.git]
/
osm_common
/
fslocal.py
diff --git
a/osm_common/fslocal.py
b/osm_common/fslocal.py
index
7794754
..
b90b25e
100644
(file)
--- a/
osm_common/fslocal.py
+++ b/
osm_common/fslocal.py
@@
-93,6
+93,8
@@
class FsLocal(FsBase):
else:
f = "/".join(storage)
if os.path.exists(self.path + f):
+ if not mode:
+ return True
if mode == "file" and os.path.isfile(self.path + f):
return True
if mode == "dir" and os.path.isdir(self.path + f):