mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-20 05:43:41 -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
|
## 1.6.0
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|
3
app.py
3
app.py
|
@ -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:
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Add table
Reference in a new issue