wpoa / open-access-media-importer

A tool for harvesting media files from Open Access articles for upload into Wikimedia Commons
http://commons.wikimedia.org/wiki/User:Open_Access_Media_Importer_Bot
23 stars 8 forks source link

Refactor inconsistent python-colorama use #68

Closed RaphaelWimmer closed 11 years ago

RaphaelWimmer commented 11 years ago

String generation for console output in sources/pmc.py and helpers/init.py uses python-colorama. However, it is implemented differently in both files. Refactor to make code easier to maintain.

erlehmann commented 11 years ago

It seems I should use the logging module. http://docs.python.org/2/library/logging.html

erlehmann commented 11 years ago

python-colorama is no longer a dependency as of f246ce4c510ceca00b06910ed948eb1f0138ce23.