receyuki / comfyui-prompt-reader-node

The ultimate solution for managing image metadata and multi-tool compatibility. ComfyUI node version of the SD Prompt Reader
MIT License
289 stars 22 forks source link

[BUG] - SD Prompt Saver - Time format filename issue #80

Closed Davikar closed 4 months ago

Davikar commented 4 months ago

Description

If I want to use a . as a separator in the timeformat in the SD Prompt Saver, the last part gets cut off. For example %H.%M.%S produces 21.11 instead of 21.11.59. Also, I have to queue twice to get the new values in the file name.

Reproduction steps

  1. Load SD Prompt Saver
  2. Type %H.%M.%S in time_format field
  3. Queue twice

Image file

No response

jinxishe commented 4 months ago

It's not just time format, anything, like cfg 3.5 will cause filename cut. seems the '.' causes problem.

receyuki commented 4 months ago

Damn, I figured out what's going on. For example, if you try to save an image named 21.11.59.png, the Saver treats the file as one named 21.11 with a suffix of 59, messing up the file name. I'll fix this issue ASAP.

Davikar commented 4 months ago

Thanks! 👍