fix: channel abbreviation

This commit is contained in:
Dr.Lt.Data
2024-05-05 16:45:04 +09:00
parent 52257b1f3c
commit b3b9b5a5ff
2 changed files with 7 additions and 5 deletions

View File

@@ -598,6 +598,9 @@ def is_file_created_within_one_day(file_path):
async def get_data_by_mode(mode, filename, channel_url=None):
if channel_url in get_channel_dict():
channel_url = get_channel_dict()[channel_url]
try:
if mode == "local":
uri = os.path.join(comfyui_manager_path, filename)