fix variable error

This commit is contained in:
Cyberes 2023-02-02 20:49:52 -07:00
parent ad2ebe230f
commit 0f0fa942f7
1 changed files with 2 additions and 3 deletions

View File

@ -44,9 +44,8 @@ parser.add_argument('--silence-errors', '-s', action='store_true', help="Don't p
parser.add_argument('--ignore-downloaded', '-i', action='store_true', help='Ignore videos that have been already downloaded and let youtube-dl handle everything.')
parser.add_argument('--erase-downloaded-tracker', '-e', action='store_true', help='Erase the tracked video file.')
parser.add_argument('--ratelimit-sleep', type=int, default=5, help='How many seconds to sleep to prevent rate-limiting.')
parser.add_argument('--input-datatype', choices=['auto', 'txt', 'yaml'], default='auto', help='The datatype of the input file. If set to auto, the file will be scanned for a URL on the firstline.'
'If is a URL, the filetype will be set to txt. If it is a key: value pair then the filetype will be set to yaml.')
parser.add_argument('--logs-dir', default=None, help='Where to store the logs. Must be set when --output is not.')
parser.add_argument('--input-datatype', choices=['auto', 'txt', 'yaml'], default='auto', help=)
parser.add_argument('--log-dir', default=None, help='Where to store the logs. Must be set when --output is not.')
args = parser.parse_args()
if args.threads <= 0: