Skip to content

fix: handle file:// URIs in media paths#153

Open
jiz4oh wants to merge 1 commit intoehForwarderBot:masterfrom
jiz4oh:fix-file-path
Open

fix: handle file:// URIs in media paths#153
jiz4oh wants to merge 1 commit intoehForwarderBot:masterfrom
jiz4oh:fix-file-path

Conversation

@jiz4oh
Copy link
Copy Markdown
Member

@jiz4oh jiz4oh commented Apr 25, 2026

local_tdlib_api=True 会把 本地文件 转为 file:///xxxx 字符串,os.stat 会报 not_found

fix #127

Normalize file URIs before opening animation files so local paths work
on both POSIX and Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] cant send large file when use local telegram api

1 participant