1 parent
5246e2ccb4
commit
0188745d05
1 file changed
+6
-1
@@ -63,7 +63,12 @@ def _create_lastmodified(path, recursive):
|
||||
return max(lms)
|
||||
|
||||
else:
|
||||
storage, path_in_storage = path.split("/", 1)
|
||||
if "/" in path:
|
||||
storage, path_in_storage = path.split("/", 1)
|
||||
else:
|
||||
storage = path
|
||||
path_in_storage = None
|
||||
|
||||
try:
|
||||
return fileManager.last_modified(storage, path=path_in_storage, recursive=recursive)
|
||||
except Exception:
|
||||
|
||||
Reference in new issue
Block a user