mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
Update rebuild-themes.py
This commit is contained in:
parent
2c1ff30064
commit
8262640385
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ THEMES_FOLDER = './themes'
|
|||
THEMES_DATA_FILE = './themes.json'
|
||||
|
||||
def main():
|
||||
with open(THEMES_DATA_FILE, 'w') as f:
|
||||
json.dump({}, f, indent=4)
|
||||
for theme in os.listdir(THEMES_FOLDER):
|
||||
theme_folder = os.path.join(THEMES_FOLDER, theme)
|
||||
if not os.path.isdir(theme_folder):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue