literówka XD

This commit is contained in:
prance 2022-01-28 00:42:53 +01:00
parent d55ac7c5d1
commit 840fb66840

View File

@ -14,7 +14,7 @@ class NGINXConfigurator:
config = cls._get_config(sessions) config = cls._get_config(sessions)
with open(cls._config_path, 'w') as F: with open(cls._config_path, 'w') as F:
F.write(config) F.write(config)
completed_process = subprocess.run(["sudo" "nginx", "-s", "reload"]) completed_process = subprocess.run(["sudo", "nginx", "-s", "reload"])
return completed_process.returncode return completed_process.returncode
@classmethod @classmethod