diff options
Diffstat (limited to 'src/common/helpers.py')
-rw-r--r-- | src/common/helpers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/helpers.py b/src/common/helpers.py index 5012660e0..1c76faf0d 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -847,6 +847,7 @@ def sanitize_filename(filename): .replace('*', '_').replace('<', '_').replace('>', '_') # 48 is the limit if len(filename) > 48: + extension = filename.split('.')[-1] filename = filename[0:48] return filename @@ -1026,7 +1027,7 @@ def get_notification_icon_tooltip_dict(): def get_notification_icon_tooltip_text(): text = None # How many events must there be before they're shown summarized, not per-user - # max_ungrouped_events = 10 + max_ungrouped_events = 10 # Character which should be used to indent in the tooltip. indent_with = ' ' |