37 lines
1.6 KiB
Text
37 lines
1.6 KiB
Text
https://github.com/magicalraccoon/tootstream/issues/231
|
|
|
|
Index: src/tootstream/toot.py
|
|
--- src/tootstream/toot.py.orig
|
|
+++ src/tootstream/toot.py
|
|
@@ -905,7 +905,7 @@ def help(mastodon, rest):
|
|
cprint("{section}:".format(section=section),
|
|
fg('white') +
|
|
attr('bold') +
|
|
- attr('underlined'))
|
|
+ attr('underline'))
|
|
new_section = False
|
|
|
|
print("{:>12} {:<15} {:<}".format(command, cmd_args, cmd_doc))
|
|
@@ -958,11 +958,11 @@ def toot(mastodon, rest):
|
|
cprint("You tooted: ", fg('white') + attr('bold'), end="\n")
|
|
if resp['sensitive']:
|
|
cprint('CW: ' + resp['spoiler_text'], fg('red'))
|
|
- cprint(text, fg('magenta') + attr('bold') + attr('underlined'))
|
|
+ cprint(text, fg('magenta') + attr('bold') + attr('underline'))
|
|
posted = True
|
|
except Exception as e:
|
|
cprint("Received error: ", fg('red') + attr('bold'), end="")
|
|
- cprint(e, fg('magenta') + attr('bold') + attr('underlined'))
|
|
+ cprint(e, fg('magenta') + attr('bold') + attr('underline'))
|
|
|
|
# If we're streaming then we can't edit the toot, so assume that we posted.
|
|
if is_streaming is True:
|
|
@@ -1104,7 +1104,7 @@ def boost(mastodon, rest):
|
|
cprint(msg, fg('green'))
|
|
except Exception as e:
|
|
cprint("Received error: ", fg('red') + attr('bold'), end="")
|
|
- cprint(e, fg('magenta') + attr('bold') + attr('underlined'))
|
|
+ cprint(e, fg('magenta') + attr('bold') + attr('underline'))
|
|
|
|
|
|
boost.__argstr__ = '<id>'
|