Skip to content

Commit

Permalink
fix for issue #24
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Feb 8, 2016
1 parent 6db5a56 commit 332a122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clam/clamservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -2402,9 +2402,9 @@ def set_defaults():

if sys.version < '3':
if isinstance(settings.SYSTEM_DESCRIPTION,str):
settings.SYSTEM_DESCRIPTION = unicode(settingkeys['SYSTEM_DESCRIPTION'],'utf-8') #pylint: disable=undefined-variable
settings.SYSTEM_DESCRIPTION = unicode(settings.SYSTEM_DESCRIPTION,'utf-8') #pylint: disable=undefined-variable
if isinstance(settings.SYSTEM_NAME,str):
settings.SYSTEM_NAME = unicode(settingkeys['SYSTEM_NAME'],'utf-8') #pylint: disable=undefined-variable
settings.SYSTEM_NAME = unicode(settings.SYSTEM_NAME,'utf-8') #pylint: disable=undefined-variable


if 'ROOT' in settingkeys and settings.ROOT and not settings.ROOT[-1] == "/":
Expand Down

0 comments on commit 332a122

Please sign in to comment.