diff --git a/CHANGELOG.md b/CHANGELOG.md index 093d668..db1589e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ This project uses Semantic Versioning +## 1.1.2 + +Fixed redundant whitespace check when filtering printable chars. + + ## 1.1.1 Fixed setup.py project URL diff --git a/setup.py b/setup.py index 4818363..a85e48e 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: packages = find_packages(exclude=['contrib', 'docs', 'tests']) setup(name='youandme', - version='1.1.1', + version='1.1.2', description='Simple private data sharing via bytearrays, Tor tunneling and metadata paranoia', long_description=long_description, long_description_content_type='text/markdown', diff --git a/src/yam/yam.py b/src/yam/yam.py index 74f9faf..c144e4a 100644 --- a/src/yam/yam.py +++ b/src/yam/yam.py @@ -90,8 +90,7 @@ def chat(mode, send_data, recv_data, alpha): if char == "\n" or char == "\r\n" or len(display_buffer) > 100: while len(display_buffer) != 0: char = display_buffer.pop(0) - if alpha and char not in printable and \ - char not in ('\n', '\r', ' ', '\t'): + if alpha and char not in printable: continue print("\033[1;33m" + char + "\033[0m", end="")