edgi-govdata-archiving / archivers-harvesting-tools

ARCHIVED--Collection of scripts and code snippets for data harvesting after generating the zip starter
GNU General Public License v3.0
32 stars 28 forks source link

Avoid use of problematic module 'colorama' #27

Closed mhucka closed 7 years ago

mhucka commented 7 years ago

Following problems reported by Justin S. in the Archivers' Slack, I rewrote check-ia to (1) use a different module than colorama for colorizing the output, (2) wrap loading the termcolor module with a failsafe so that it hopefully won't barf even if it can't load it, and (3) add a new flag (-x) to the command line to turn off colorizing the output, in case people want to avoid colorizing the output even if the termcolor module is loadable.

titaniumbones commented 7 years ago

looks good, I'll merge.