diff --git a/gns3server/config.py b/gns3server/config.py index 0e4b80c4..d15d32f0 100644 --- a/gns3server/config.py +++ b/gns3server/config.py @@ -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()