Jean28518 / linux-assistant

A daily linux helper with powerful integrated search, routines checks and administrative tasks. The Project is built with flutter and python.
https://www.linux-assistant.org
GNU General Public License v3.0
87 stars 12 forks source link

Fix UnboundLocalError #90

Closed Nati0ns closed 1 year ago

Nati0ns commented 1 year ago

Due to a typo the variable entries can be referenced before it is assigned, causing the error.

This only happens if the directory ~/.mozilla/firefox does not exist. For example when Firefox is installed as Snap, where the actual path is ~/snap/firefox/common/.mozilla/firefox.

This was tested on Ubuntu 22.04.1 LTS.

Best regards!

Jean28518 commented 1 year ago

Thank you very much for your correction!