added role , rank tag to spaz node

This commit is contained in:
Ayush Saini 2021-04-05 22:13:52 +05:30
parent 8d95248166
commit 14007f0b0e
11 changed files with 119 additions and 20 deletions

View file

@ -22,12 +22,3 @@ def sendError(msg: str, ID: int = None):
else:
ba.screenmessage(msg, color=(1,0,0), transient=True)
def getStats():
try:
f = open(statsFile, 'r')
a = json.loads(f.read())
f.close()
return a
except:
print("Stats not found")
return {}