Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.

Commit f1ac3e3

Browse files
Fix: Listing processes if .desktop files are broken link
1 parent 756d49b commit f1ac3e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

io.github.hakandundar34coding.system-monitoring-center.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ modules:
5656
sources:
5757
- type: git
5858
url: https://github.com/hakandundar34coding/system-monitoring-center.git
59-
commit: 3abeb27d3c0e71df590ec8608661ac02872ef79d
59+
commit: 756d49b6a50078ed5450e39365cda56a18c0c756
6060

src/Libsysmon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3929,7 +3929,7 @@ def get_application_name_image_dict():
39293929
try:
39303930
with open("/usr/share/applications/" + application, encoding="utf-8") as reader:
39313931
application_file_content = reader.read()
3932-
except PermissionError:
3932+
except (PermissionError, FileNotFoundError) as e:
39333933
continue
39343934

39353935
# Do not include application name or icon name if any of them is not found in the .desktop file.

0 commit comments

Comments
 (0)