Reformat code

This commit is contained in:
2022-07-29 17:28:19 +01:00
parent 75f79cf072
commit 4472352785
2 changed files with 6 additions and 16 deletions

View File

@@ -5,7 +5,6 @@ from os.path import exists
from string import digits
from redis import StrictRedis
from os import getenv
# List of errors ZNC can give us
ZNCErrors = ["Error:", "Unable to load", "does not exist", "doesn't exist"]
@@ -72,7 +71,7 @@ def liveNets():
def saveConf(var):
if var in ("help", "aliasdata"):
return # no need to save this
return # no need to save this
if filemap[var][2] == "json":
with open(configPath + filemap[var][0], "w") as f:
json.dump(globals()[var], f, indent=4)