mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c0910dde1f
commit
5ea5aecd25
@@ -199,6 +199,9 @@ class ConfigManager:
|
||||
config_file.parent.mkdir(parents=True, exist_ok=True)
|
||||
config_file.touch(exist_ok=True)
|
||||
|
||||
# Reset any previously loaded singleton state so parsing reflects
|
||||
# the newly created empty config file.
|
||||
self._raw_config = {}
|
||||
self._config_file_mounted = True
|
||||
self._config_file_writable = os.access(self.config_file, os.W_OK)
|
||||
except PermissionError:
|
||||
|
||||
Reference in New Issue
Block a user