Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Commit

Permalink
Added note about unicode conversion. Solved issue #9
Browse files Browse the repository at this point in the history
  • Loading branch information
marknca committed Aug 9, 2016
1 parent f38c6d3 commit c17d201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepsecurity/dsm.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self,
core.CoreApi.__init__(self)
self._hostname = None
self._port = port
self._tenant = unicode(tenant, "utf-8") if tenant else None
self._tenant = unicode(tenant, "utf-8") if tenant else None # no harm in converting to ensure compatibility with non-latin tenant names
self._username = unicode(username, "utf-8") if username else None
self._password = unicode(password, "utf-8") if password else None
self._prefix = prefix
Expand Down

0 comments on commit c17d201

Please sign in to comment.