defs fix in doctype

This commit is contained in:
Rushabh Mehta 2011-08-02 15:53:27 +05:30
parent 4899164ac2
commit e45ef41f2e

View file

@ -80,7 +80,7 @@ class DocType:
self.change_modified_of_parent()
import webnotes.defs
from webnotes import defs
from webnotes.utils.transfer import in_transfer
if (not in_transfer) and getattr(defs,'developer_mode', 0):