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

Commit

Permalink
Fix: Listing processes if .desktop files are broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
hakandundar34coding committed Sep 17, 2023
1 parent 756d49b commit f1ac3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion io.github.hakandundar34coding.system-monitoring-center.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ modules:
sources:
- type: git
url: https://github.com/hakandundar34coding/system-monitoring-center.git
commit: 3abeb27d3c0e71df590ec8608661ac02872ef79d
commit: 756d49b6a50078ed5450e39365cda56a18c0c756

2 changes: 1 addition & 1 deletion src/Libsysmon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f1ac3e3

Please sign in to comment.