From 650e1392ac457dabed9e0885085784400b4add31 Mon Sep 17 00:00:00 2001 From: Feramance Date: Wed, 11 Sep 2024 11:26:41 +0200 Subject: [PATCH] ljust fixes --- qBitrr/arss.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 717371a2..7e208349 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -2465,10 +2465,10 @@ def db_update_single_series( SeriesTitle.ljust(60, "."), SeasonNumber, EpisodeNumber, - searched.ljust(5), - upgrade.ljust(5), - QualityMet.ljust(5), - customFormatMet.ljust(5), + str(searched).ljust(5), + str(upgrade).ljust(5), + str(QualityMet).ljust(5), + str(customFormatMet).ljust(5), ) if request: @@ -2618,8 +2618,8 @@ def db_update_single_series( self.logger.debug( "Updating database entry | %s [Searched:%s][Upgrade:%s]", Title.ljust(60, "."), - searched.ljust(5), - upgrade.ljust(5), + str(searched).ljust(5), + str(upgrade).ljust(5), ) db_commands = self.series_file_model.insert( @@ -2775,10 +2775,10 @@ def db_update_single_series( self.logger.debug( "Updating database entry | %s [Searched:%s][Upgrade:%s][QualityMet:%s][CustomFormatMet:%s]", title.ljust(60, "."), - searched.ljust(5), - upgrade.ljust(5), - qualityMet.ljust(5), - customFormatMet.ljust(5), + str(searched).ljust(5), + str(upgrade).ljust(5), + str(qualityMet).ljust(5), + str(customFormatMet).ljust(5), ) db_commands = self.model_file.insert(