Commit 36c69d5d authored by Aurel's avatar Aurel Committed by Arnaud Fontaine

define full path for import

parent 9e513778
...@@ -61,7 +61,7 @@ class _(PatchClass(ExternalMethod)): ...@@ -61,7 +61,7 @@ class _(PatchClass(ExternalMethod)):
if component_module is None: if component_module is None:
# Fall back on filesystem # Fall back on filesystem
if not reload: if not reload:
from Globals import DevelopmentMode from Products.ERP5Type.Globals import DevelopmentMode
if DevelopmentMode: if DevelopmentMode:
try: try:
last_read, path = self._v_fs last_read, path = self._v_fs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment