diff --git a/shoutcast.py b/shoutcast.py index 31196a7..8c73145 100644 --- a/shoutcast.py +++ b/shoutcast.py @@ -177,7 +177,7 @@ class ShoutProxy(resource.Resource): self.fetchingurls = False def dump_exc(self): - exc = StringIO() + exc = StringIO.StringIO() traceback.print_exc(file=exc) exc.seek(0) self.request.setHeader('content-type', 'text/html')