Commit 3a0fb4c9 authored by Aurel's avatar Aurel

define full path for import

parent 349511f5
...@@ -57,7 +57,7 @@ class _(PatchClass(ExternalMethod)): ...@@ -57,7 +57,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