From d952a22591106b7bebeb0a96bfdd1d763739862b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 17 Sep 2021 10:47:02 +0200 Subject: [PATCH] remove deprecated default master file name setting from config file --- scripts/config.py | 1 - scripts/notes.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/config.py b/scripts/config.py index c665b47..d8bafa3 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -15,7 +15,6 @@ DATE_FORMAT = '%a %d %b %Y' LOCALE = "de_DE.utf8" COURSE_IGNORE_FILE = '.courseignore' COURSE_INFO_FILE_NAME = 'info.yaml' -DEFAULT_MASTER_FILE_NAME = 'master.tex' MAX_LEN = 40 LECTURE_START_MARKER = 'start lectures' LECTURE_END_MARKER = 'end lectures' diff --git a/scripts/notes.py b/scripts/notes.py index 70525d8..b14ccbb 100644 --- a/scripts/notes.py +++ b/scripts/notes.py @@ -2,10 +2,10 @@ import subprocess from pathlib import Path -from lectures import Lectures, number2filename -from config import DEFAULT_MASTER_FILE_NAME, LECTURE_START_MARKER, LECTURE_END_MARKER, DEFAULT_IMPORT_INDENTATION -from parse_counters import parse_counters, dict2setcounters +from config import LECTURE_START_MARKER, LECTURE_END_MARKER, DEFAULT_IMPORT_INDENTATION from edit import edit +from lectures import Lectures, number2filename +from parse_counters import parse_counters, dict2setcounters class Notes: