diff options
Diffstat (limited to 'steuermann/report.py')
-rw-r--r-- | steuermann/report.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/steuermann/report.py b/steuermann/report.py index ab4796b..afdf650 100644 --- a/steuermann/report.py +++ b/steuermann/report.py @@ -7,7 +7,11 @@ import time import sys import pandokia.text_table as text_table import pandokia.common -import StringIO + +try: + from io import StringIO +except ImportError: + import StringIO # maybe the output is html 3.2 - in any case, it is way simpler than # more recent standards. |