Do not set report name to lower case

issue6998
review40861002
This commit is contained in:
Korbinian Preisler committed 2017-12-10 17:09:29 +01:00
1 parent 12b6ee63e3
commit c270c070a9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -461,7 +461,7 @@ def slugify(value):
if not isinstance(value, unicode):
value = unicode(value)
value = unicodedata.normalize('NFKD', value).encode('ascii', 'ignore')
value = unicode(_slugify_strip_re.sub('', value).strip().lower())
value = unicode(_slugify_strip_re.sub('', value).strip())
return _slugify_hyphenate_re.sub('-', value)
+1 -1
View File
@@ -23,7 +23,7 @@ class IPCServer(object):
from tryton.common import slugify
if Server.instance:
Server.instance.stop()
self.hostname = slugify(hostname)
self.hostname = slugify(hostname).lower()
self.port = port
self.database = slugify(database)
self.config = os.path.join(get_config_dir(), '%s@%s@%s' %