- CLIENT_ID = YOUR_CLIENt_ID was not a string, so importing the node raised NameError and it never appeared in ComfyUI until the source was edited. The client ID is now read from onedrive_config.json next to the node or the ONEDRIVE_CLIENT_ID environment variable, and the MSAL app is created on first use, so a missing ID shows a clear message instead of a crash. - Folder/file paths are URL-encoded; folder names containing '#', '%' or '?' previously uploaded to the wrong place or failed. - Uploads have a timeout (they could hang the queue forever) and reuse one HTTP connection per batch. - Token cache is loaded once instead of from disk on every run. - File numbering uses an in-memory counter instead of creating an empty marker file in the temp folder for every image. - Added requirements.txt (msal was never declared) and a .gitignore so the sign-in token and client ID are never committed. - README: setup steps for the client ID; corrected the filename description. Version 1.1.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Lm4YDXhwj49hAA1RKS58Q
15 lines
559 B
TOML
15 lines
559 B
TOML
[project]
|
|
name = "Save_To_OneDrive"
|
|
description = "A ComfyUI node that saves images directly to OneDrive using Microsoft's free API service"
|
|
version = "1.1.0"
|
|
license = {text = "MIT License"}
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/Creepybits/ComfyUI-Save_To_OneDrive"
|
|
# Used by Comfy Registry https://comfyregistry.org
|
|
|
|
[tool.comfy]
|
|
PublisherId = "creepybits"
|
|
DisplayName = "Save Image to OneDrive (Creepybits)"
|
|
Icon = "https://github.com/Creepybits/ComfyUI-Creepy_nodes/blob/a392f0cbc076a66b261b51e315fd5b5d356c2cf2/assets/cpbt.png"
|