mirror of
https://github.com/sabnzbd/sabnzbd.git
synced 2026-09-08 11:44:34 -04:00
Also parse warning_helpfull correctly for translations
This commit is contained in:
1 parent
235df91a37
commit
f242053d6c
1 file changed
+1
-1
@@ -103,7 +103,7 @@ def get_context(ctx_line):
|
||||
else:
|
||||
if "logging.error(" in srcline:
|
||||
context = "Error message"
|
||||
elif "logging.warning(" in srcline:
|
||||
elif "logging.warning(" in srcline or "logging.warning_helpfull(" in srcline:
|
||||
context = "Warning message"
|
||||
|
||||
if context and context not in contexts:
|
||||
|
||||
Reference in new issue
Block a user