Skip to content

Commit e473d00

Browse files
committed
changed strip to rstrip for image remove uri function
1 parent f9fdcc9 commit e473d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spython/image/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def remove_uri(self, image):
5656
image = image or ''
5757
uri = self.get_uri(image) or ''
5858
image = image.replace('%s://' %uri,'', 1)
59-
return image.strip('-').strip('/')
59+
return image.strip('-').rstrip('/')
6060

6161

6262
def parse_image_name(self, image):

0 commit comments

Comments
 (0)