diff --git a/offpunk.py b/offpunk.py index b531167..5162a43 100755 --- a/offpunk.py +++ b/offpunk.py @@ -803,6 +803,8 @@ you'll be able to transparently follow links to Gopherspace!""") except UnicodeError: raise RuntimeError("Could not decode response body using %s\ encoding declared in header!" % encoding) + else: + body = fbody gi.write_body(body,mime) return gi