mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: linting errors
This commit is contained in:
parent
ce50fa760f
commit
2f456560f0
3 changed files with 3 additions and 4 deletions
|
|
@ -1,4 +1,3 @@
|
|||
from gettext import install
|
||||
from typing import Literal, Optional
|
||||
from pydantic import BaseModel
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import os
|
|||
|
||||
|
||||
async def check_content_directory():
|
||||
if not os.path.exists(f"content"):
|
||||
if not os.path.exists("content"):
|
||||
# create folder for activity
|
||||
print("Creating content directory...")
|
||||
os.makedirs(f"content")
|
||||
os.makedirs("content")
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ from fastapi import APIRouter, Depends
|
|||
from src.routers import blocks, dev, trail, users, auth, orgs, roles
|
||||
from src.routers.courses import chapters, collections, courses, activities
|
||||
from src.routers.install import install
|
||||
from src.services.dev.dev import isDevModeEnabled, isDevModeEnabledOrRaise
|
||||
from src.services.dev.dev import isDevModeEnabledOrRaise
|
||||
from src.services.install.install import isInstallModeEnabled
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue