Skip to content

Commit

Permalink
refactor(image): clean up logs
Browse files Browse the repository at this point in the history
  • Loading branch information
CCXXXI committed Jun 14, 2023
1 parent 7154b31 commit 4130980
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/re0_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,4 @@ def transfer(*, source, target):
level=logging.INFO,
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
)

pywikibot.output("Transfer files")
pywiki_logger = logging.getLogger("pywiki")
pywiki_logger.setLevel(logging.ERROR)

transfer(source=pywikibot.Site("en", "re0"), target=pywikibot.Site("zh", "re0"))

0 comments on commit 4130980

Please sign in to comment.