sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-22 16:24:11 +00:00
parent 4cc27cb2e4
commit 130329df10
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
773 changed files with 5162 additions and 2980 deletions

View file

@ -0,0 +1,37 @@
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>'