Changeset 6719 for n4d-server-plugins/trunk/fuentes/server-install-files/usr/share/n4d/python-plugins/PasswordManager.py
- Timestamp:
- Jan 29, 2018, 2:31:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
n4d-server-plugins/trunk/fuentes/server-install-files/usr/share/n4d/python-plugins/PasswordManager.py
r6238 r6719 4 4 import shutil 5 5 import json 6 import codecs 6 7 7 8 import sqlite3 … … 98 99 if user_name not in self.users: 99 100 self.users[user_name]={} 100 101 102 if type(cn)==str: 103 cn=cn.decode("utf-8") 104 if type(sn)==str: 105 sn=sn.decode("utf-8") 106 101 107 self.users[user_name]["cn"]=cn 102 108 self.users[user_name]["sn"]=sn
Note: See TracChangeset
for help on using the changeset viewer.