From 8afb4cee34f6c7e966995f5892cb5ed6ff022172 Mon Sep 17 00:00:00 2001 From: tooomm Date: Mon, 24 Jan 2022 15:43:55 +0100 Subject: [PATCH] Update __main__.py --- magic_spoiler/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic_spoiler/__main__.py b/magic_spoiler/__main__.py index 5da6985f..76153c58 100644 --- a/magic_spoiler/__main__.py +++ b/magic_spoiler/__main__.py @@ -645,7 +645,7 @@ def main() -> None: changed |= delete_old_files() # Set output to deploy - if os.environ('CI'): + if os.environ['CI']: if changed: print("::set-output name=deploy::true") print("::notice title=Updates available::New spoiler files will be uploaded")