Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
[Fix] config value eval -> str #v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
inhzus committed Sep 11, 2019
1 parent 7b98402 commit 2721f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion juq/service/config_service.py
Expand Up @@ -6,7 +6,7 @@

# noinspection PyShadowingBuiltins
def set(key: str, value: str, **_):
config[key] = eval(value)
config[key] = str(value)
config.save()
return ''

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name='juq',
version='1.4',
version='1.4.1',
author='Zhi Sun',
author_email='inhzus@gmail.com',
description='Yuque SDK and command line tool.',
Expand Down

0 comments on commit 2721f13

Please sign in to comment.