[gen] Bugfix in AbstractWrapper.
This commit is contained in:
parent
d45e314ac1
commit
4c6c72935a
|
@ -120,6 +120,7 @@ class AbstractWrapper(object):
|
|||
if user: return user
|
||||
if self.o.getUser().getUserName() == 'System Processes':
|
||||
return self.search1('User', noSecurity=True, login='admin')
|
||||
return
|
||||
elif name == 'fields': return self.o.getAllAppyTypes()
|
||||
elif name == 'siteUrl': return self.o.getTool().getSiteUrl()
|
||||
# Now, let's try to return a real attribute.
|
||||
|
|
Loading…
Reference in a new issue