diff options
-rw-r--r-- | src/livestreamer/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/livestreamer/utils.py b/src/livestreamer/utils.py index c57d68d..8f6e58e 100644 --- a/src/livestreamer/utils.py +++ b/src/livestreamer/utils.py @@ -17,6 +17,9 @@ RequestsConfig = { "danger_mode": True } class ArgumentParser(argparse.ArgumentParser): def convert_arg_line_to_args(self, line): + if len(line) == 0: + return + if line[0] == "#": return |