mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 22:13:57 +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')):
|
for filename in await aiofiles.os.listdir(os.path.join('api', 'secret')):
|
||||||
if filename.endswith('.txt'):
|
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:
|
async for line in f:
|
||||||
if not line.strip():
|
if not line.strip():
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue