Ook bij deze de bugs eruit. Werkt nu goed
This commit is contained in:
+3
-3
@@ -15,7 +15,7 @@ db = client["groclist"]
|
||||
username = input("Username :")
|
||||
#password = getpass.getpass("Password: ")
|
||||
|
||||
userid = db.user_cred.find_one({"username": username})
|
||||
email = db.user_info.find_one({"uuid": userid{"uuid": 1} ,"name": 1, "email": 1})
|
||||
userid = db.user_cred.find_one({"username": username}, {"uuid":1, "_id":0})
|
||||
email = db.user_info.find_one(userid ,{"name": 1, "email": 1, "_id":0})
|
||||
|
||||
print (userid, email)
|
||||
print (email)
|
||||
|
||||
Reference in New Issue
Block a user