algoo / preview-generator

generates previews of files with cache management
https://pypi.org/project/preview-generator/
MIT License
228 stars 51 forks source link

Adds a helper static method to get the final path #130

Open frague59 opened 4 years ago

frague59 commented 4 years ago

...to replace:

preview_file_path = "{path}{extension}".format(
    path=cache_path + preview_name, extension=extension
)
frague59 commented 4 years ago

Better if it uses libpath.Path to build the path