Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/output.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 11:58:29 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 11:58:29 +0200
commit90eff266576a5fc2fe9f690e835c876aa405fe6d (patch)
treecbbcf2693f6470dc8fdc89ffbfa854935e526ac2 /archinstall/lib/output.py
parent60aaae4337c90bea3d485f58f7ab206cb1539a74 (diff)
Reverted TTS implementation from 35913c4. Since blind people use screen readers for this functionality. Will have a look at http://www.linux-sppeakup.org/.
Diffstat (limited to 'archinstall/lib/output.py')
-rw-r--r--archinstall/lib/output.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py
index a2711f54..d1b418d9 100644
--- a/archinstall/lib/output.py
+++ b/archinstall/lib/output.py
@@ -1,5 +1,4 @@
import sys
-from .tts import TTS
# Found first reference here: https://stackoverflow.com/questions/7445658/how-to-detect-if-the-console-does-support-ansi-escape-codes-in-python
# And re-used this: https://github.com/django/django/blob/master/django/core/management/color.py#L12
@@ -44,7 +43,4 @@ def log(*args, **kwargs):
kwargs = {'bg' : 'black', 'fg': 'white', **kwargs}
string = stylize_output(string, **kwargs)
- print(string)
- with TTS() as tts_instance:
- if tts_instance.is_available:
- tts_instance.speak(string.replace('-', '').strip().lstrip())
+ print(string) \ No newline at end of file