Browse Source

removed whitespace check that was not necessary

master
Kevin Froman 2 years ago
parent
commit
ea04c5ea2c
  1. 5
      CHANGELOG.md
  2. 2
      setup.py
  3. 3
      src/yam/yam.py

5
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

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'])
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',

3
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="")

Loading…
Cancel
Save