From cb4462748c812e047e1599da483cdd40b77aa45c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 21 May 2008 10:00:49 +0200 Subject: [PATCH] Fix webdav when converting uri to object for attachment object. --- trytond/webdav/webdav.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trytond/webdav/webdav.py b/trytond/webdav/webdav.py index a71c152323..2087388682 100644 --- a/trytond/webdav/webdav.py +++ b/trytond/webdav/webdav.py @@ -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: