aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-07-07 14:15:37 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:12:34 +0200
commitd7b56088a537bc67bd69c61ec0924430119415f2 (patch)
treee6d3928d02864c17e823916b35e388468e115825
parent8ee8d41a203797a835357cd9711dfa410bd99475 (diff)
Strip start after
-rwxr-xr-xautomedia.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/automedia.py b/automedia.py
index c02be30..0ce60de 100755
--- a/automedia.py
+++ b/automedia.py
@@ -529,6 +529,9 @@ def command_add(args):
else:
usage_add()
+ if start_after:
+ start_after = start_after.strip()
+
if media_type == "rss":
os.makedirs(rss_config_dir, exist_ok=True)
result = add_rss(media_name, media_url, rss_config_dir, start_after)