Some more things regarding #4269

This commit is contained in:
Miroslav Stampar
2020-07-16 16:10:02 +02:00
parent 6375f9e506
commit e910fc6b8b
7 changed files with 153 additions and 163 deletions

View File

@@ -163,8 +163,7 @@ class SmartRedirectHandler(_urllib.request.HTTPRedirectHandler):
retVal = getSafeExString(ex)
except:
retVal = ""
finally:
return retVal
return retVal
result.read = types.MethodType(_, result)