Skip to content

Commit 669bfbf

Browse files
committed
Keep image extension for xkcd comics
1 parent 3bbb74a commit 669bfbf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

xkcd_downloader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def main():
3131

3232
# gets comic name from the image src url
3333
comic_name = image_src.split('/')[-1]
34-
comic_name = comic_name[:-4]
3534

3635
# save location of comic
3736
comic_location = os.getcwd() + '/comics/'

0 commit comments

Comments
 (0)