fix: format

This commit is contained in:
2 * r + 2 * t
2026-03-09 21:25:33 +11:00
parent 6e59149fbf
commit cc155cf432
5 changed files with 40 additions and 37 deletions
+2
View File
@@ -12,9 +12,11 @@ def log_exception(func):
Used by the `apply_()` functions so that an exception, when applying
a theme, does not prevent the other themes from being applied.
"""
def wrapper(*args, **kwargs):
try:
func(*args, **kwargs)
except Exception as e:
log_message(f'Error during execution of "{func.__name__}()": {str(e)}')
return wrapper