From 244cd9101d22f874a537f5759a253bf95ec47b75 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Sat, 9 Mar 2024 13:46:51 -0800 Subject: [PATCH] Remove commented code --- comictaggerlib/cli.py | 5 +---- comictaggerlib/seriesselectionwindow.py | 5 ----- comictaggerlib/taggerwindow.py | 4 +--- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/comictaggerlib/cli.py b/comictaggerlib/cli.py index 891f74b..508669a 100644 --- a/comictaggerlib/cli.py +++ b/comictaggerlib/cli.py @@ -458,11 +458,8 @@ class CLI: if self.config.Runtime_Options__verbose: self.output(text) - # use our overlaid MD struct to search - # ii.set_additional_metadata(md) - # ii.only_use_additional_meta_data = True ii.set_output_function(functools.partial(self.output, already_logged=True)) - # ii.cover_page_index = md.get_cover_page_index_list()[0] + # use our overlaid MD to search result, matches = ii.identify(ca, md) found_match = False diff --git a/comictaggerlib/seriesselectionwindow.py b/comictaggerlib/seriesselectionwindow.py index f79ea66..2bab075 100644 --- a/comictaggerlib/seriesselectionwindow.py +++ b/comictaggerlib/seriesselectionwindow.py @@ -247,11 +247,6 @@ class SeriesSelectionWindow(QtWidgets.QDialog): md.year = self.year md.issue_count = self.issue_count - # self.ii.set_additional_metadata(md) - # self.ii.only_use_additional_meta_data = True - - # self.ii.cover_page_index = int(self.cover_index_list[0]) - self.id_thread = IdentifyThread(self.ii, self.comic_archive, md) self.id_thread.identifyComplete.connect(self.identify_complete) self.id_thread.identifyLogMsg.connect(self.log_id_output) diff --git a/comictaggerlib/taggerwindow.py b/comictaggerlib/taggerwindow.py index a74e95a..5c73acf 100644 --- a/comictaggerlib/taggerwindow.py +++ b/comictaggerlib/taggerwindow.py @@ -1792,10 +1792,8 @@ class TaggerWindow(QtWidgets.QMainWindow): md.issue = "1" else: md.issue = utils.xlate(md.volume) - # ii.set_additional_metadata(md) - # ii.only_use_additional_meta_data = True + ii.set_output_function(self.auto_tag_log) - # ii.cover_page_index = md.get_cover_page_index_list()[0] if self.atprogdialog is not None: ii.set_cover_url_callback(self.atprogdialog.set_test_image) ii.set_name_series_match_threshold(dlg.name_length_match_tolerance)