From 31254a9e7806e5b3ab1cdb9d2012c081323badb0 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 16 Apr 2021 14:18:55 +0700 Subject: [PATCH] fixint typerror in interface pending --- interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.py b/interface.py index 9f88232..b45e706 100755 --- a/interface.py +++ b/interface.py @@ -60,7 +60,7 @@ def get_pending_all(config): # call subfunction to collect pending pending_movie = moviesort.get_pending(config['movie_downpath']) pending_tv = tvsort.get_pending(config['tv_downpath']) - pending_trailer = trailers.get_pending(config) + pending_trailer = len(trailers.get_pending(config)) pending_total = pending_movie + pending_tv + pending_trailer # build dict pending = {}