1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-08 17:46:25 +01:00

Buanzo's fix to prevent dumps aborting

This commit is contained in:
Gale Andrews
2016-04-24 02:58:52 +01:00
parent 54ecf74d68
commit 9b2ea97b00

View File

@@ -528,6 +528,7 @@ def url_open(url):
L = urlparse.urlparse(url) L = urlparse.urlparse(url)
if L[1] != domain: if L[1] != domain:
conn.close() conn.close()
if L[1] == '': return(['',''])
print "connection to", domain, "closed." print "connection to", domain, "closed."
conn = httplib.HTTPConnection(L[1]) conn = httplib.HTTPConnection(L[1])
domain = L[1] domain = L[1]