Mercurial > hg > bitsyauth
changeset 55:8367a345ae41
py3
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 13:28:37 -0800 |
parents | b39ab92955ef |
children | d09682c9cd98 |
files | bitsyauth/__init__.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitsyauth/__init__.py Tue Nov 03 12:55:30 2020 -0800 +++ b/bitsyauth/__init__.py Tue Nov 03 13:28:37 2020 -0800 @@ -14,7 +14,11 @@ try: from cStringIO import StringIO except ImportError: - from StringIO import StringIO + try: + from StringIO import StringIO + except ModuleNotFoundError: + # python3 + from io import StringIO try: from skimpyGimpy import skimpyAPI