Fix linter error

This commit is contained in:
Sumner Evans
2020-05-06 22:37:08 -06:00
parent 0d9114e421
commit a52e019bac

View File

@@ -486,7 +486,7 @@ class CacheManager(metaclass=Singleton):
# Move the file to its cache download location.
os.makedirs(abs_path.parent, exist_ok=True)
if download_path.exists():
shutil.move(download_path, abs_path)
shutil.move(str(download_path), abs_path)
logging.info(f'{abs_path} downloaded. Returning.')
return abs_path_str