Skip to content

Commit

Permalink
[2251] Use Pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed Jun 6, 2024
1 parent dd8b18c commit 2f6e9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def check_for_fdev_updates(silent: bool = False, local: bool = False) -> None:
logger.info(f'File {file} not found. Writing from bundle...')
try:
for localfile in files_urls:
filepath = f"FDevIDs/{localfile[0]}"
filepath = pathlib.Path(f"FDevIDs/{localfile[0]}")
try:
shutil.copy(filepath, pathway / 'FDevIDs')
except shutil.SameFileError:
Expand Down

0 comments on commit 2f6e9fa

Please sign in to comment.