Remove the main()
and hide an error explanation
This commit is contained in:
parent
a304f769f7
commit
28db71d296
@ -14,7 +14,7 @@ from passlib.hash import pbkdf2_sha512
|
||||
__author__ = "HorlogeSkynet"
|
||||
__copyright__ = "Copyright 2017, ACMS"
|
||||
__license__ = "GPLv3"
|
||||
__version__ = "0.1.0"
|
||||
__version__ = "0.1.1"
|
||||
__status__ = "Development"
|
||||
__date__ = "02/28/2017"
|
||||
|
||||
@ -92,12 +92,5 @@ class UserList():
|
||||
return False
|
||||
|
||||
except:
|
||||
print("This user does not exist !")
|
||||
# print("This user does not exist !")
|
||||
return False
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
userList = UserList()
|
||||
|
||||
userList.addUser('user', 'user')
|
||||
userList.addUser('admin', 'admin')
|
||||
|
Reference in New Issue
Block a user