Remove mt option as it's not useful anymore

This commit is contained in:
LecygneNoir 2019-03-09 10:34:18 +01:00
parent 08416d2796
commit 3797c9a9f0
4 changed files with 7 additions and 9 deletions

View file

@ -135,9 +135,6 @@ def upload_video(oauth, secret, options):
if len(strtag) >= 30:
logging.warning("Peertube: Sorry, Peertube does not support tag with more than 30 characters, please reduce your tag size")
exit(1)
# If Mastodon compatibility is enabled, clean tags from special characters
if options.get('--mt'):
strtag = utils.cleanString(strtag)
fields.append(("tags", strtag))
if options.get('--category'):