mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-20 13:53:42 -05:00
hotfix
This commit is contained in:
parent
ea1d27cf81
commit
29f1b19bba
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
## 1.6.1
|
||||
|
||||
### Fixes
|
||||
|
||||
* emojis settings in admin panel causing a server error
|
||||
|
||||
## 1.6.0
|
||||
|
||||
### New features
|
||||
|
|
3
app.py
3
app.py
|
@ -237,6 +237,9 @@ def customize():
|
|||
@admin_bp.route('/emojis/', methods=['GET', 'POST'])
|
||||
@loginRequired
|
||||
def emojis():
|
||||
if not os.path.exists(const.emojiPath):
|
||||
os.makedirs(const.emojiPath)
|
||||
|
||||
packs = func.listEmojiPacks()
|
||||
if packs:
|
||||
for pack in packs:
|
||||
|
|
|
@ -8,6 +8,6 @@ configFile = 'config.json'
|
|||
faviconDir = Path.cwd() / 'static' / 'icons' / 'favicon'
|
||||
emojiPath = Path.cwd() / 'static' / 'emojis'
|
||||
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
|
||||
version_id = '-alpha'
|
||||
|
|
Loading…
Add table
Reference in a new issue