mirror of
https://gitflic.ru/project/photopea-v2/photopea-v-2.git
synced 2026-10-28 06:50:10 +00:00
Fix small error in Updater.py when differentiating between templates and plugins
This commit is contained in:
1 parent
a2edc5811b
commit
4076166b47
38 files changed
+1
-1
No files matched your search
+1
-1
@@ -135,7 +135,7 @@ for font_file in list(set(fonts_local)-set(fonts_db)):
|
||||
print('Removing ' + font_file)
|
||||
os.remove(font_file)
|
||||
|
||||
templates_db=['file/' + ('psdshared' if _[4].startswith("https://i.imgur.com/") else 'pp-resources') +'/' + _[3] for _ in json.load(open(root+"papi/tpls.json"))['list']]
|
||||
templates_db=['file/' + ('psdshared' if _[4].startswith("https://i.imgur.com/") or _[4].startswith("https://imgur.com/") else 'pp-resources') +'/' + _[3] for _ in json.load(open(root+"papi/tpls.json"))['list']]
|
||||
for template in templates_db:
|
||||
path="https://f000.backblazeb2.com/" + template
|
||||
outfn=root+"templates/"+template
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user