mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #1523] [MERGED] fix: Invoke the function before it is defined #43742
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/1523
Author: @7a6ac0
Created: 4/12/2024
Status: ✅ Merged
Merged: 4/12/2024
Merged by: @tjbck
Base:
dev← Head:call_before_defining📝 Commits (1)
c49cc3ffix: Invoke the function before it is defined📊 Changes
1 file changed (+45 additions, -41 deletions)
View changed files
📝
backend/config.py(+45 -41)📄 Description
Pull Request Checklist
Description
Calling the
log.warningfunction before it has been defined could potentially result in a failure during execution.Changelog Entry
Fixed
logto the top.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.