I'd recommend to change this to

```` python
if colorama:
    colorama.init()
````

and similar for ``deinit()``