Fix webdav when converting uri to object for attachment object.

This commit is contained in:
Cédric Krier committed 2008-05-21 10:00:49 +02:00
1 parent 2f7b2ee3a3
commit cb4462748c
1 file changed
+1
+1
View File
@@ -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: