Skip to content

Commit 1ced87c

Browse files
authored
Update cw_common.py
1 parent 5a9c1b8 commit 1ced87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cw_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def expand_vars(path,rec=0):
5454
return g
5555

5656
def has_apptainer():
57-
return shutil.which("apptainer") != ""
57+
return shutil.which("apptainer") != None
5858

5959
def name_generator(size=6, chars=string.ascii_uppercase + string.digits):
6060
return ''.join(random.choice(chars) for _ in range(size))

0 commit comments

Comments
 (0)