Browse Source

publish muk_utils - 12.0

pull/30/head
MuK IT GmbH 5 years ago
parent
commit
d888c96952
  1. 1
      muk_utils/models/scss_editor.py

1
muk_utils/models/scss_editor.py

@ -76,7 +76,6 @@ class ScssEditor(models.AbstractModel):
custom_url = self._get_custom_url(url, xmlid)
custom_attachment = self._get_custom_attachment(custom_url)
if custom_attachment.exists():
print(self.env.context, custom_attachment.datas)
return base64.b64decode(custom_attachment.datas).decode('utf-8')
else:
match = re.compile("^/(\w+)/(.+?)(\.custom\.(.+))?\.(\w+)$").match(url)

Loading…
Cancel
Save