mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
[PR #2952] [MERGED] fix: tolerant readonly filesystem for copy favicon to static dir #7934
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/2952
Author: @arkohut
Created: 6/9/2024
Status: ✅ Merged
Merged: 6/10/2024
Merged by: @tjbck
Base:
dev← Head:tolerant-readonly-filesystem📝 Commits (2)
8e9e429fix: tolerant readonly filesystem for copy favicon to static dird20f6cbfix: use Exception to handle all errors📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
backend/config.py(+3 -2)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Sorry for another update since last PR. I missed a condition for read only file system which throws an
OSErrorinstead ofPermissionError.I had tested this condition and it works after this update. But I also need to add this to make the secret file stay away from read only filesystem:
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.