diff --git a/cme/protocols/smb/database.py b/cme/protocols/smb/database.py index 052bc8e8..a7288416 100755 --- a/cme/protocols/smb/database.py +++ b/cme/protocols/smb/database.py @@ -141,8 +141,8 @@ class database: cur.close() - logging.debug('add_credential(credtype={}, domain={}, username={}, password={}, groupid={}, pillaged_from={}) => {}'.format(credtype, domain, username, password, - groupid, pillaged_from, user_rowid)) + logging.debug('add_credential(credtype={}, domain={}, username={}, password={}, groupid={}, pillaged_from={}) => {}'.encode().format(credtype, domain, username, password, + groupid, pillaged_from, user_rowid)) return user_rowid