mirror of
https://github.com/rommapp/romm.git
synced 2026-06-27 22:35:57 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -93,7 +93,7 @@ def resolve_module_name(record: logging.LogRecord) -> str:
|
||||
package — the parent directory name — so it reads as ``roms`` instead.
|
||||
"""
|
||||
explicit = getattr(record, "module_name", None)
|
||||
if explicit:
|
||||
if explicit is not None:
|
||||
return str(explicit)
|
||||
|
||||
module = record.module
|
||||
|
||||
Reference in New Issue
Block a user