Created
May 20, 2018 18:27
-
-
Save AceSevenFive/524ea128d65c23d02e8819e1eb2844a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async def checkPermissions(user, permrequired): | |
with open(user + ".txt", "r") as file: | |
return (yaml.load(file)[permrequired] == True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment