django-profiler icon indicating copy to clipboard operation
django-profiler copied to clipboard

Incorrect io import

Open Shivadp opened this issue 6 years ago • 1 comments

File "/Users/Shared/workspace/VOSM/CL_StoreMaps/venv/lib/python3.7/site-packages/profiling/init.py", line 9, in from StringIO import StringIO ModuleNotFoundError: No module named 'StringIO'

It was wrongly imported fromStringIO import StringIO.

Please correct this line in _init.py , line 9 to from io import StringIO

Shivadp avatar Jan 18 '19 16:01 Shivadp

Ref https://github.com/char0n/django-profiler/pull/12

char0n avatar Jan 23 '19 21:01 char0n