Last active
April 14, 2016 11:22
-
-
Save cstewart90/3b979e61228934e60cb6518082cb6ca7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env python3.5 | |
""" | |
Deletes all "minqlx:players:*:permission" keys. | |
""" | |
import redis | |
r = redis.StrictRedis(unix_socket_path='/var/run/redis/redis.sock') | |
for key in r.scan_iter("minqlx:players:*:permission"): | |
r.delete(key) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment