Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

When renaming new image I get error below: #2

Closed
ericlikedis opened this issue May 16, 2021 · 2 comments
Closed

When renaming new image I get error below: #2

ericlikedis opened this issue May 16, 2021 · 2 comments

Comments

@ericlikedis
Copy link

Traceback (most recent call last):
  File "/Users/<username>/Tartarus/tartarus/tartarus.py", line 584, in <module>
    image_encode()
  File "/Users/<username>/Tartarus/tartarus/tartarus.py", line 533, in image_encode
    newimg.save(new_img_name, str(new_img_name.split(".")[1].upper()))
IndexError: list index out of range
@pantsman0
Copy link

Does the new image name have a dot in it?

@ericlikedis
Copy link
Author

Rookie mistake...I got it now lol..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants