Fix webdav when converting uri to object for attachment object.
This commit is contained in:
1 parent
2f7b2ee3a3
commit
cb4462748c
1 file changed
+1
@@ -100,6 +100,7 @@ class Directory(OSV):
|
||||
else:
|
||||
object_name = None
|
||||
object_id = False
|
||||
return object_name, object_id
|
||||
else:
|
||||
object_id = int(name.rsplit('-', 1)[1].strip())
|
||||
if uri:
|
||||
|
||||
Reference in new issue
Block a user