Skip to content

Commit b7e4ec1

Browse files
committed
fixing None bug
1 parent 9f9ae19 commit b7e4ec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spython/main/pull.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ def pull(self,
9191
cmd.append(image)
9292
bot.info(' '.join(cmd))
9393

94+
# If name is still None, make empty string
95+
if name is None:
96+
name = ''
97+
9498
final_image = os.path.join(pull_folder, name)
9599

96100
# Option 1: For hash or commit, need return value to get final_image

0 commit comments

Comments
 (0)