mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] ConnectionError is from requests
This commit is contained in:
parent
6b781a99b6
commit
739369a248
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def domain_add(auth, domain, dyndns=False):
|
|||
|
||||
try:
|
||||
r = requests.get('https://dyndns.yunohost.org/domains')
|
||||
except ConnectionError:
|
||||
except requests.ConnectionError:
|
||||
pass
|
||||
else:
|
||||
dyndomains = json.loads(r.text)
|
||||
|
|
Loading…
Add table
Reference in a new issue