Skip to content

Commit

Permalink
Removed the extension output and renamed the full path output to make…
Browse files Browse the repository at this point in the history
… it more clear.
  • Loading branch information
MNeMoNiCuZ committed Jun 4, 2024
1 parent fd9cb1c commit 9f26bf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions nodes/save_text_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def INPUT_TYPES(cls):
}

OUTPUT_NODE = True
RETURN_TYPES = ("STRING", "STRING", "STRING")
RETURN_NAMES = ("output_path", "output_name", "output_extension")
RETURN_TYPES = ("STRING", "STRING")
RETURN_NAMES = ("output_full_path", "output_name")
FUNCTION = "save_text_file"
CATEGORY = "⚡ MNeMiC Nodes"

Expand Down Expand Up @@ -72,7 +72,7 @@ def save_text_file(self, file_text, path, prefix='[time(%Y-%m-%d %H.%M.%S)]', co

self.writeTextFile(file_path, file_text)

return file_path, output_name, output_extension
return file_path, output_name

def generate_filename(self, path, prefix, suffix, separator, number_padding, extension):
"""Generate a unique filename based on the provided parameters."""
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui-mnemic-nodes"
description = "Updated a bunch of inputs and outputs of the Save Text File With Path-node. This will break all existing workflows as almost all inputs have been redesigned."
version = "1.1.0"
description = "Removed the extension output and renamed the full path output to make it more clear."
version = "1.1.1"
license = "LICENSE"
dependencies = ["configparser", "groq", "transformers", "torch"]

Expand Down

0 comments on commit 9f26bf4

Please sign in to comment.