summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Simeonov2020-12-09 09:42:59 +0100
committerSimeon Simeonov2020-12-09 09:42:59 +0100
commit768d8e570a0d7b7795b70bd8354c809db179238d (patch)
tree17127d75032f7931c4872125633266daa62009c6
parent1b9cb7758519abd11c676c81c421416cf3195fb0 (diff)
Fix encoding error in Python 3.9 and bump version to 4.1v4.1
-rw-r--r--Changelog4
-rwxr-xr-xbeinc_generic_client.py2
-rwxr-xr-xbeinc_pull.py2
-rwxr-xr-xbeinc_server.py2
-rw-r--r--beinc_weechat.py4
5 files changed, 9 insertions, 5 deletions
diff --git a/Changelog b/Changelog
index f1a8bd8..4fbbd0e 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
1v4.1:
2 - re-raise exceptions properly
3 - fix error when using Python 3.9 due to removed 'encoding' parameter
4
1v4.0: 5v4.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(