mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
fix
This commit is contained in:
@@ -20,11 +20,11 @@ def main():
|
||||
trackurl = sites[i] + "hgTracks?"
|
||||
builds = []
|
||||
try:
|
||||
page = requests.get(site)
|
||||
text = requests.get(site).text
|
||||
except:
|
||||
print("#Unable to connect to " + site)
|
||||
continue
|
||||
text = page.text
|
||||
|
||||
try:
|
||||
tree = ElementTree.fromstring(text)
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user