mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 20:43:56 +01:00
Compare commits
2 commits
73d2cbe382
...
87345f94d7
Author | SHA1 | Date | |
---|---|---|---|
87345f94d7 | |||
4144fd1810 |
|
@ -76,7 +76,7 @@ class KeyManager:
|
|||
|
||||
for filename in await aiofiles.os.listdir(os.path.join('api', 'secret')):
|
||||
if filename.endswith('.txt'):
|
||||
async with aiofiles.open(os.path.join('api', 'secret', filename)) as f:
|
||||
async with aiofiles.open(os.path.join('api', 'secret', 'filename')) as f:
|
||||
async for line in f:
|
||||
if not line.strip():
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue