This commit is contained in:
mst 2024-10-20 01:04:14 +03:00
parent ea1d27cf81
commit 29f1b19bba
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
## 1.6.1
### Fixes
* emojis settings in admin panel causing a server error
## 1.6.0 ## 1.6.0
### New features ### New features

3
app.py
View file

@ -237,6 +237,9 @@ def customize():
@admin_bp.route('/emojis/', methods=['GET', 'POST']) @admin_bp.route('/emojis/', methods=['GET', 'POST'])
@loginRequired @loginRequired
def emojis(): def emojis():
if not os.path.exists(const.emojiPath):
os.makedirs(const.emojiPath)
packs = func.listEmojiPacks() packs = func.listEmojiPacks()
if packs: if packs:
for pack in packs: for pack in packs:

View file

@ -8,6 +8,6 @@ configFile = 'config.json'
faviconDir = Path.cwd() / 'static' / 'icons' / 'favicon' faviconDir = Path.cwd() / 'static' / 'icons' / 'favicon'
emojiPath = Path.cwd() / 'static' / 'emojis' emojiPath = Path.cwd() / 'static' / 'emojis'
appName = 'CatAsk' appName = 'CatAsk'
version = '1.6.0' version = '1.6.1'
# id (identifier) is to be interpreted as described in https://semver.org/#spec-item-9 # id (identifier) is to be interpreted as described in https://semver.org/#spec-item-9
version_id = '-alpha' version_id = '-alpha'