removed whitespace check that was not necessary
This commit is contained in:
parent
3a69b00ec1
commit
ea04c5ea2c
@ -3,6 +3,11 @@
|
|||||||
This project uses Semantic Versioning
|
This project uses Semantic Versioning
|
||||||
|
|
||||||
|
|
||||||
|
## 1.1.2
|
||||||
|
|
||||||
|
Fixed redundant whitespace check when filtering printable chars.
|
||||||
|
|
||||||
|
|
||||||
## 1.1.1
|
## 1.1.1
|
||||||
|
|
||||||
Fixed setup.py project URL
|
Fixed setup.py project URL
|
||||||
|
2
setup.py
2
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'])
|
packages = find_packages(exclude=['contrib', 'docs', 'tests'])
|
||||||
|
|
||||||
setup(name='youandme',
|
setup(name='youandme',
|
||||||
version='1.1.1',
|
version='1.1.2',
|
||||||
description='Simple private data sharing via bytearrays, Tor tunneling and metadata paranoia',
|
description='Simple private data sharing via bytearrays, Tor tunneling and metadata paranoia',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
|
@ -90,8 +90,7 @@ def chat(mode, send_data, recv_data, alpha):
|
|||||||
if char == "\n" or char == "\r\n" or len(display_buffer) > 100:
|
if char == "\n" or char == "\r\n" or len(display_buffer) > 100:
|
||||||
while len(display_buffer) != 0:
|
while len(display_buffer) != 0:
|
||||||
char = display_buffer.pop(0)
|
char = display_buffer.pop(0)
|
||||||
if alpha and char not in printable and \
|
if alpha and char not in printable:
|
||||||
char not in ('\n', '\r', ' ', '\t'):
|
|
||||||
continue
|
continue
|
||||||
print("\033[1;33m" + char + "\033[0m", end="")
|
print("\033[1;33m" + char + "\033[0m", end="")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user