Add template icon
This commit is contained in:
@@ -53,6 +53,16 @@ class Kitsu(Tracker):
|
||||
|
||||
return assets
|
||||
|
||||
def download_preview(self, preview_id, filepath):
|
||||
if isinstance(filepath, str):
|
||||
filepath = Path(filepath)
|
||||
|
||||
if filepath.exists():
|
||||
return
|
||||
|
||||
filepath.parent.mkdir(parents=True, exist_ok=True)
|
||||
gazu.files.download_preview_file_thumbnail(preview_id, filepath.as_posix())
|
||||
|
||||
def connect(self, url=None, login=None, password=None):
|
||||
'''Connect to kitsu api using provided url, login and password'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user