Rename script to have alphabetical name ordering

pull/131/head
stijndcl 2022-09-18 01:21:51 +02:00
parent 0262d68fc9
commit 65201cd705
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ __all__ = ["main"]
async def main(): async def main():
"""Add debug Ufora courses""" """Example script: add a Ufora course"""
session: AsyncSession session: AsyncSession
async with DBSession() as session: async with DBSession() as session:
modsim = UforaCourse( modsim = UforaCourse(

View File

@ -7,7 +7,7 @@ import asyncio
import sys import sys
from typing import Callable from typing import Callable
from database.scripts.debug_add_courses import main as debug_add_courses from database.scripts.db00_example import main as debug_add_courses
script_mapping: dict[str, Callable] = {"debug_add_courses.py": debug_add_courses} script_mapping: dict[str, Callable] = {"debug_add_courses.py": debug_add_courses}