From 0abc074bd99da03eeb6d56bc522f28cb675d08e0 Mon Sep 17 00:00:00 2001 From: kthoden Date: Tue, 29 Sep 2020 14:52:05 +0200 Subject: [PATCH] Correct syntax --- scripts/utils/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils/functions.py b/scripts/utils/functions.py index 7123746..2b308d3 100644 --- a/scripts/utils/functions.py +++ b/scripts/utils/functions.py @@ -30,7 +30,7 @@ def exec_in_container( cmd = \ [ "docker-compose", "exec", "eoa_skripts", "bash" ] - if len(args) is not 0: + if len(args) != 0: cmd.append( "-c" ) cmd.append( reduce(lambda x,y: x + " " + y, args )