Update traktarr.py

Correctly pass NoneType object for rating_limit if user has not replaced empty string in the config
pull/52/head
daghaian 6 years ago committed by GitHub
parent 866c38855a
commit be11561cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -815,7 +815,7 @@ def run(add_delay=2.5, sort='votes', no_search=False, run_now=False, no_notifica
no_search,
not no_notifications,
ignore_blacklist,
cfg.automatic.movies.rating_limit
int(cfg.automatic.movies.rating_limit) if cfg.automatic.movies.rating_limit != "" else None
)
if run_now:
movie_schedule.run()

Loading…
Cancel
Save