twblue/src/fixes/__init__.py

12 lines
377 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
""" This module contains some bugfixes for packages used in TWBlue."""
2015-06-12 19:26:14 +02:00
import sys
import fix_arrow # A few new locales for Three languages in arrow.
2015-06-12 19:26:14 +02:00
import fix_urllib3_warnings # Avoiding some SSL warnings related to Twython.
2015-06-27 00:52:49 +02:00
import fix_win32com
def setup():
2015-06-12 19:26:14 +02:00
fix_arrow.fix()
2015-06-27 00:52:49 +02:00
if hasattr(sys, "frozen"):
fix_win32com.fix()
2015-06-12 19:26:14 +02:00
fix_urllib3_warnings.fix()