Skip to content

Commit

Permalink
fix: experimental features config wizard breaks on multiple choices.
Browse files Browse the repository at this point in the history
fixes #99
  • Loading branch information
blueset committed Mar 8, 2020
1 parent 0c8fd71 commit 18ba57e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Removed

Fixed
-----
- Experimental features config wizard breaks on multiple choices.

Known issue
-----------
Expand Down
2 changes: 1 addition & 1 deletion efb_wechat_slave/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# coding: utf-8

__version__ = "2.0.1.dev1"
__version__ = "2.0.1.dev2"
4 changes: 2 additions & 2 deletions efb_wechat_slave/wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def save(self):
' Note: QR code might change frequently.'
)),
"on_log_out":
("command", 'choices', ['idle', 'reauth', 'command'],
(2, 'choices', ['idle', 'reauth', 'command'],
_('Behavior when WeChat server logged your account out.\n'
'\n'
'Options:\n'
Expand All @@ -111,7 +111,7 @@ def save(self):
'disabled by default.'
)),
"app_shared_link_mode":
('ignore', 'choices', ['ignore', 'upload', 'image'],
(0, 'choices', ['ignore', 'upload', 'image'],
_('Behavior to deal with thumbnails when a message shared by 3rd '
'party apps is received.\n'
'\n'
Expand Down

0 comments on commit 18ba57e

Please sign in to comment.