diff --git a/io.github.hakandundar34coding.system-monitoring-center.yml b/io.github.hakandundar34coding.system-monitoring-center.yml index 6c9c89d3..32c92d09 100644 --- a/io.github.hakandundar34coding.system-monitoring-center.yml +++ b/io.github.hakandundar34coding.system-monitoring-center.yml @@ -56,5 +56,5 @@ modules: sources: - type: git url: https://github.com/hakandundar34coding/system-monitoring-center.git - commit: 3abeb27d3c0e71df590ec8608661ac02872ef79d + commit: 756d49b6a50078ed5450e39365cda56a18c0c756 diff --git a/src/Libsysmon.py b/src/Libsysmon.py index b630eb3a..2b91ed11 100644 --- a/src/Libsysmon.py +++ b/src/Libsysmon.py @@ -3929,7 +3929,7 @@ def get_application_name_image_dict(): try: with open("/usr/share/applications/" + application, encoding="utf-8") as reader: application_file_content = reader.read() - except PermissionError: + except (PermissionError, FileNotFoundError) as e: continue # Do not include application name or icon name if any of them is not found in the .desktop file.