Skip to content

Commit

Permalink
Correct syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Sep 29, 2020
1 parent 345440b commit 0abc074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 0abc074

Please sign in to comment.