Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Move extra message to INFO.
Browse files Browse the repository at this point in the history
Prepare 0.3-alpha1
  • Loading branch information
dpriskorn committed Feb 25, 2022
1 parent e13fe45 commit 021c0c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = itemsubjector
version = 0.3-alpha0
version = 0.3-alpha1
author = Dennis Priskorn
author_email = [email protected]
description = CLI-tool to easily add "main subject" aka topics in bulk to groups of items on Wikidata
Expand Down
4 changes: 3 additions & 1 deletion src/helpers/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import random
from typing import Union, List, TYPE_CHECKING, Optional

import config
from src import (
strip_prefix,
print_best_practice,
Expand Down Expand Up @@ -59,7 +60,8 @@ def process_qid_into_job(
if not answer:
return None
suggestion.extract_search_strings()
suggestion.print_search_strings()
if config.loglevel == logging.INFO:
suggestion.print_search_strings()
if suggestion.search_strings is None:
raise ValueError("suggestion.search_strings was None")
with console.status(
Expand Down

0 comments on commit 021c0c2

Please sign in to comment.