File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/collective/documentgenerator/browser Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ Changelog
10
10
[aduchene]
11
11
- Fixed an issue with `helper.dexterity.DXDocumentGenerationHelperView.check_permission ` raising when it should not.
12
12
[aduchene]
13
+ - Replaced `six.u() ` by safe_unicode() to handle unicode strings.
14
+ [sgeulette]
13
15
14
16
3.43 (2024-04-10)
15
17
-----------------
Original file line number Diff line number Diff line change 11
11
from plone .app .registry .browser .controlpanel import RegistryEditForm
12
12
from Products .CMFPlone .utils import safe_unicode
13
13
from Products .statusmessages .interfaces import IStatusMessage
14
- from six import u
15
14
from z3c .form import button
16
15
from zope import schema
17
16
from zope .interface import implementer
@@ -61,7 +60,7 @@ class IDocumentGeneratorControlPanelSchema(Interface):
61
60
title = _ (u"oo_port_list" ),
62
61
description = _ (u'Port Number(s) of OO.' ),
63
62
required = False ,
64
- default = u (os .getenv ('OO_PORT' , DEFAULT_OO_PORT ))
63
+ default = safe_unicode (os .getenv ('OO_PORT' , DEFAULT_OO_PORT ))
65
64
)
66
65
67
66
uno_path = schema .TextLine (
You can’t perform that action at this time.
0 commit comments