diff options
| author | Simeon Simeonov | 2020-12-09 09:42:59 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2020-12-09 09:42:59 +0100 |
| commit | 768d8e570a0d7b7795b70bd8354c809db179238d (patch) | |
| tree | 17127d75032f7931c4872125633266daa62009c6 /beinc_weechat.py | |
| parent | 1b9cb7758519abd11c676c81c421416cf3195fb0 (diff) | |
Fix encoding error in Python 3.9 and bump version to 4.1v4.1
Diffstat (limited to 'beinc_weechat.py')
| -rw-r--r-- | beinc_weechat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/beinc_weechat.py b/beinc_weechat.py index c1a1e1e..75af86a 100644 --- a/beinc_weechat.py +++ b/beinc_weechat.py | |||
| @@ -28,7 +28,7 @@ import weechat | |||
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | __author__ = 'Simeon Simeonov' | 30 | __author__ = 'Simeon Simeonov' |
| 31 | __version__ = '4.0' | 31 | __version__ = '4.1' |
| 32 | __license__ = 'GPL3' | 32 | __license__ = 'GPL3' |
| 33 | 33 | ||
| 34 | 34 | ||
| @@ -521,7 +521,7 @@ def beinc_init(): | |||
| 521 | beinc_prnt(f'Parsing {beinc_config_file_str}...') | 521 | beinc_prnt(f'Parsing {beinc_config_file_str}...') |
| 522 | custom_error = 'load error' | 522 | custom_error = 'load error' |
| 523 | with open(beinc_config_file_str, 'r') as fp: | 523 | with open(beinc_config_file_str, 'r') as fp: |
| 524 | config_dict = json.load(fp, encoding='utf-8') | 524 | config_dict = json.load(fp) |
| 525 | custom_error = 'target parse error' | 525 | custom_error = 'target parse error' |
| 526 | global_values['use_current_buffer'] = bool( | 526 | global_values['use_current_buffer'] = bool( |
| 527 | config_dict['irc_client'].get( | 527 | config_dict['irc_client'].get( |
