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 | |
| parent | 1b9cb7758519abd11c676c81c421416cf3195fb0 (diff) | |
Fix encoding error in Python 3.9 and bump version to 4.1v4.1
| -rw-r--r-- | Changelog | 4 | ||||
| -rwxr-xr-x | beinc_generic_client.py | 2 | ||||
| -rwxr-xr-x | beinc_pull.py | 2 | ||||
| -rwxr-xr-x | beinc_server.py | 2 | ||||
| -rw-r--r-- | beinc_weechat.py | 4 |
5 files changed, 9 insertions, 5 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | v4.1: | ||
| 2 | - re-raise exceptions properly | ||
| 3 | - fix error when using Python 3.9 due to removed 'encoding' parameter | ||
| 4 | |||
| 1 | v4.0: | 5 | v4.0: |
| 2 | - remove Python 2 support | 6 | - remove Python 2 support |
| 3 | - cleanup the code and the documentation | 7 | - cleanup the code and the documentation |
diff --git a/beinc_generic_client.py b/beinc_generic_client.py index 5514642..ca3847a 100755 --- a/beinc_generic_client.py +++ b/beinc_generic_client.py | |||
| @@ -31,7 +31,7 @@ import urllib.request | |||
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | __author__ = 'Simeon Simeonov' | 33 | __author__ = 'Simeon Simeonov' |
| 34 | __version__ = '4.0' | 34 | __version__ = '4.1' |
| 35 | __license__ = 'GPL3' | 35 | __license__ = 'GPL3' |
| 36 | 36 | ||
| 37 | 37 | ||
diff --git a/beinc_pull.py b/beinc_pull.py index 9c44c00..c99cde8 100755 --- a/beinc_pull.py +++ b/beinc_pull.py | |||
| @@ -38,7 +38,7 @@ except ImportError: | |||
| 38 | 38 | ||
| 39 | 39 | ||
| 40 | __author__ = 'Simeon Simeonov' | 40 | __author__ = 'Simeon Simeonov' |
| 41 | __version__ = '4.0' | 41 | __version__ = '4.1' |
| 42 | __license__ = 'GPL3' | 42 | __license__ = 'GPL3' |
| 43 | 43 | ||
| 44 | 44 | ||
diff --git a/beinc_server.py b/beinc_server.py index 9dde418..730fe52 100755 --- a/beinc_server.py +++ b/beinc_server.py | |||
| @@ -38,7 +38,7 @@ except ImportError: | |||
| 38 | 38 | ||
| 39 | 39 | ||
| 40 | __author__ = 'Simeon Simeonov' | 40 | __author__ = 'Simeon Simeonov' |
| 41 | __version__ = '4.0' | 41 | __version__ = '4.1' |
| 42 | __license__ = 'GPL3' | 42 | __license__ = 'GPL3' |
| 43 | 43 | ||
| 44 | 44 | ||
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( |
