mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-07 13:02:27 +02:00
File is unavailable. Don't raise this error; just eat it.
This commit is contained in:
parent
1e24a1996f
commit
aa8b9508e0
@ -37,7 +37,7 @@ def getFileByUrl(url):
|
|||||||
return f.read().decode("UTF-8")
|
return f.read().decode("UTF-8")
|
||||||
except:
|
except:
|
||||||
print ("Problem getting file: ", url);
|
print ("Problem getting file: ", url);
|
||||||
raise
|
# raise
|
||||||
|
|
||||||
|
|
||||||
# In Python 3 "print" is a function, braces are added everywhere
|
# In Python 3 "print" is a function, braces are added everywhere
|
||||||
|
Loading…
Reference in New Issue
Block a user