We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e5101 commit ef06a21Copy full SHA for ef06a21
nonebot_plugin_orm/migrate.py
@@ -274,7 +274,7 @@ def _init_version_locations(self) -> None:
274
version_locations[main_version_location] = ""
275
276
for src, dst in version_locations.items():
277
- with suppress(FileNotFoundError):
+ with suppress(FileNotFoundError, shutil.Error):
278
shutil.copytree(src, self._temp_dir / dst, dirs_exist_ok=True)
279
280
pathsep = _SPLIT_ON_PATH[self.get_main_option("version_path_separator")]
0 commit comments