diff --git a/libraries/entropy/services/auth_interfaces.py b/libraries/entropy/services/auth_interfaces.py index ce01a003b..081484784 100644 --- a/libraries/entropy/services/auth_interfaces.py +++ b/libraries/entropy/services/auth_interfaces.py @@ -568,7 +568,7 @@ class phpBB3Auth(Authenticator,RemoteDatabase): self.cursor.execute(sql) return True, None except Exception as e: - return False, unicode(e) + return False, str(e) def _set_config_value(self, config_name, data): diff --git a/libraries/entropy/services/interfaces.py b/libraries/entropy/services/interfaces.py index 872cb2c82..ebe28cfdb 100644 --- a/libraries/entropy/services/interfaces.py +++ b/libraries/entropy/services/interfaces.py @@ -1033,7 +1033,7 @@ class SocketHost: # needs auth = True 'desc': "instantiate a session", # description 'syntax': "begin", # syntax - 'from': unicode(self), # from what class + 'from': str(self), # from what class }, 'end': { 'auth': False, @@ -1043,7 +1043,7 @@ class SocketHost: 'as_user': False, 'desc': "end a session", 'syntax': " end", - 'from': unicode(self), + 'from': str(self), }, 'session_config': { 'auth': False, @@ -1053,7 +1053,7 @@ class SocketHost: 'as_user': False, 'desc': "set session configuration options", 'syntax': " session_config