Reformat project

This commit is contained in:
2022-07-21 13:39:59 +01:00
parent 9d4d31fdc2
commit 760e43b59a
57 changed files with 523 additions and 218 deletions

View File

@@ -1,12 +1,15 @@
from subprocess import PIPE, run
import main
from subprocess import run, PIPE
class DistCommand:
def __init__(self, *args):
self.dist(*args)
def dist(self, addr, authed, data, obj, spl, success, failure, info, incUsage, length):
def dist(
self, addr, authed, data, obj, spl, success, failure, info, incUsage, length
):
if authed:
if main.config["Dist"]["Enabled"]:
rtrn = run([main.config["Dist"]["File"]], shell=True, stdout=PIPE)