From bed5581187b6c3f50ba64b2fb1a5c3de2daf28a6 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Fri, 9 Apr 2021 01:14:54 +0200 Subject: [PATCH] Theme changes, mostly. --- CHANGELOG.md | 5 +++++ TODO.md | 1 - oyoyo/client.py | 6 +++--- pesterchum.py | 38 +++++++++++++++++++++++++++-------- profile.py | 6 +++--- themes/gold/style.js | 3 ++- themes/pesterchum/style.js | 3 ++- themes/pesterchum2.5/style.js | 2 +- themes/trollian/style.js | 3 ++- 9 files changed, 48 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efb1f66..f834085 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ ## [v2.1.0] - 2021-4-4 +### Fixed +- Fixed current mood icon not showing up. +- Fixed "CHUMHANDLE:" not fitting on some themes. +- Fixed console capitalization. + ### Added - Server prompt diff --git a/TODO.md b/TODO.md index ddcd270..58f3b94 100644 --- a/TODO.md +++ b/TODO.md @@ -8,7 +8,6 @@ - Any remaining unicode-related crashes. - Exclude unnecessary imports for builds. - Icon is crusty...? -- Mood doesn't show up next to handle - "CHUMHANDLE" is cut off on pchum2.5 theme. - Mask & target not being passed to ``_max_msg_len``. - No error message when Pesterchum fails to join a channel. (For example, when the channel name length is over CHANNELLEN) diff --git a/oyoyo/client.py b/oyoyo/client.py index 0fa2a62..33832eb 100644 --- a/oyoyo/client.py +++ b/oyoyo/client.py @@ -92,7 +92,7 @@ class IRCClient: server_file.close() server_obj = json.loads(read_file) TLS = server_obj['TLS'] - print("TLS-status is: " + str(TLS)) + #print("TLS-status is: " + str(TLS)) if TLS == False: #print("false") self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) @@ -103,7 +103,7 @@ class IRCClient: self.bare_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.socket = self.context.wrap_socket(self.bare_socket) except: - print("TLS except.") + #print("TLS except.") self.context = ssl.create_default_context() self.context.check_hostname = False self.context.verify_mode = ssl.CERT_NONE @@ -258,7 +258,7 @@ class IRCClient: # Why does this only work 33% of the time