Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
52350703
Unverified
Commit
52350703
authored
Dec 01, 2023
by
M. Tolga Cangöz
Committed by
GitHub
Dec 01, 2023
Browse files
[`logging`] Fix assertion bug (#6012)
Fix assertion bug
parent
46c751e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/utils/logging.py
src/diffusers/utils/logging.py
+1
-1
No files found.
src/diffusers/utils/logging.py
View file @
52350703
...
...
@@ -213,7 +213,7 @@ def remove_handler(handler: logging.Handler) -> None:
_configure_library_root_logger
()
assert
handler
is
not
None
and
handler
not
in
_get_library_root_logger
().
handlers
assert
handler
is
not
None
and
handler
in
_get_library_root_logger
().
handlers
_get_library_root_logger
().
removeHandler
(
handler
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment