mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] hmac-sha512 key can have space in them because why the fuck not
This commit is contained in:
parent
2c73dd1a2f
commit
f5f813badb
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def dyndns_subscribe(subscribe_host="dyndns.yunohost.org", domain=None, key=None
|
|||
|
||||
key_file = glob.glob('/etc/yunohost/dyndns/*.key')[0]
|
||||
with open(key_file) as f:
|
||||
key = f.readline().strip().split(' ')[-1]
|
||||
key = f.readline().strip().split(' ', 6)[-1]
|
||||
|
||||
# Send subscription
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue