mirror of
https://github.com/ReviveMii/revivetube
synced 2025-04-29 12:39:25 -04:00
Update revivetube.py
This commit is contained in:
parent
c624f48ae9
commit
f03ce9c0ea
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ async def check_and_create_folder():
|
||||||
print(f"Folder {folder_path} got created.")
|
print(f"Folder {folder_path} got created.")
|
||||||
await asyncio.sleep(10)
|
await asyncio.sleep(10)
|
||||||
|
|
||||||
app.before_serving(lambda: asyncio.create_task(check_and_create_folder()))
|
@app.before_serving
|
||||||
|
async def startup():
|
||||||
|
asyncio.create_task(check_and_create_folder())
|
||||||
|
|
||||||
LOADING_TEMPLATE = None
|
LOADING_TEMPLATE = None
|
||||||
CHANNEL_TEMPLATE = None
|
CHANNEL_TEMPLATE = None
|
||||||
|
|
Loading…
Add table
Reference in a new issue