Skip to content

Commit

Permalink
Fix warning message code for make_tempdir permission error
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianeboyd committed Sep 11, 2023
1 parent dcff513 commit a8814ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weasel/util/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def force_remove(rmfunc, path, ex):
try:
shutil.rmtree(str(d), onerror=force_remove)
except PermissionError as e:
warnings.warn(Warnings.W091.format(dir=d, msg=e))
warnings.warn(Warnings.W801.format(dir=d, msg=e))


def is_cwd(path: Union[Path, str]) -> bool:
Expand Down

0 comments on commit a8814ed

Please sign in to comment.