mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-02 21:24:25 -04:00
Ensure no spaces around fosshub API key
This commit is contained in:
parent
73eed3f258
commit
2beeb537b4
@ -115,7 +115,7 @@ def get_sourceforge_data():
|
|||||||
|
|
||||||
def get_fosshub_data():
|
def get_fosshub_data():
|
||||||
with open(os.environ['PENV'] + '/fosshub', 'rb') as f:
|
with open(os.environ['PENV'] + '/fosshub', 'rb') as f:
|
||||||
return f.read().decode('utf-8')
|
return f.read().decode('utf-8').strip()
|
||||||
|
|
||||||
|
|
||||||
def send_data(loc):
|
def send_data(loc):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user