[minor] small docstring changes
This commit is contained in:
1 parent
deaa67bb30
commit
887eeba6ec
2 files changed
+8
-1
No files matched your search
@@ -8,6 +8,13 @@ except:
|
||||
|
||||
|
||||
def checkurl(url='https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/'):
|
||||
"""
|
||||
check if URL is available
|
||||
:param url: url
|
||||
:type url: str
|
||||
:return: available: True/False
|
||||
:rtype: bool
|
||||
"""
|
||||
try:
|
||||
urlopen(url, timeout=1)
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user