From fc7c77e5d73f493bf04b849cca320f16ac17b9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 17 Sep 2021 10:49:48 +0200 Subject: [PATCH] optimize imports --- scripts/courses.py | 7 +++---- scripts/lectures.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/courses.py b/scripts/courses.py index 1eb10e0..2a63bef 100644 --- a/scripts/courses.py +++ b/scripts/courses.py @@ -1,12 +1,11 @@ #!/usr/bin/python3 -from pathlib import Path -import yaml import warnings -from lectures import Lectures -from notes import Notes +import yaml + from config import ROOT, CURRENT_COURSE_ROOT, CURRENT_COURSE_SYMLINK, CURRENT_COURSE_WATCH_FILE, COURSE_IGNORE_FILE, \ COURSE_INFO_FILE_NAME, FALLBACK_COURSE_INFO_FILE +from notes import Notes from utils import merge_dictionaries diff --git a/scripts/lectures.py b/scripts/lectures.py index bfc7ba6..89f2550 100644 --- a/scripts/lectures.py +++ b/scripts/lectures.py @@ -7,8 +7,8 @@ from datetime import datetime from config import DATE_FORMAT, LOCALE, DEFAULT_NEW_LECTURE_HEADER, DEFAULT_LECTURE_SEARCH_REGEX, \ DEFAULT_NEW_LECTURE_TITLE -from utils import get_week from edit import edit +from utils import get_week # TODO locale.setlocale(locale.LC_TIME, LOCALE)