mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 00:08:11 +00:00
Do not show log message if configuration file doesn't exist. Fixes #1206.
This commit is contained in:
parent
21a7a68875
commit
927f7e6b9d
@ -144,7 +144,8 @@ class Config:
|
||||
|
||||
def _watch_config_file(self):
|
||||
for file in self._files:
|
||||
self._watched_files[file] = FileWatcher(file, self._config_file_change)
|
||||
if os.path.exists(file):
|
||||
self._watched_files[file] = FileWatcher(file, self._config_file_change)
|
||||
|
||||
def _config_file_change(self, path):
|
||||
self.read_config()
|
||||
|
Loading…
Reference in New Issue
Block a user