From 61ec4d142e98ff791bbe1530ba0695719a5bbf91 Mon Sep 17 00:00:00 2001
From: Tue Herlau <tuhe@dtu.dk>
Date: Tue, 15 Aug 2023 20:23:43 +0200
Subject: [PATCH] admin stuff and init

---
 setup.py                           | 2 +-
 src/coursebox.egg-info/PKG-INFO    | 2 +-
 src/coursebox.egg-info/SOURCES.txt | 2 ++
 src/coursebox/admin/__init__.py    | 0
 src/coursebox/core/info_paths.py   | 3 +++
 5 files changed, 7 insertions(+), 2 deletions(-)
 create mode 100644 src/coursebox/admin/__init__.py

diff --git a/setup.py b/setup.py
index 2651ac9..94d0444 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
 # beamer-slider
 setuptools.setup(
     name="coursebox",
-    version="0.1.18.10",
+    version="0.1.18.13",
     author="Tue Herlau",
     author_email="tuhe@dtu.dk",
     description="A course management system currently used at DTU",
diff --git a/src/coursebox.egg-info/PKG-INFO b/src/coursebox.egg-info/PKG-INFO
index 2e4a9bb..635ffde 100644
--- a/src/coursebox.egg-info/PKG-INFO
+++ b/src/coursebox.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: coursebox
-Version: 0.1.18.10
+Version: 0.1.18.13
 Summary: A course management system currently used at DTU
 Home-page: https://lab.compute.dtu.dk/tuhe/coursebox
 Author: Tue Herlau
diff --git a/src/coursebox.egg-info/SOURCES.txt b/src/coursebox.egg-info/SOURCES.txt
index 8405041..811f494 100644
--- a/src/coursebox.egg-info/SOURCES.txt
+++ b/src/coursebox.egg-info/SOURCES.txt
@@ -10,6 +10,8 @@ src/coursebox.egg-info/SOURCES.txt
 src/coursebox.egg-info/dependency_links.txt
 src/coursebox.egg-info/requires.txt
 src/coursebox.egg-info/top_level.txt
+src/coursebox/admin/__init__.py
+src/coursebox/admin/gitlab.py
 src/coursebox/book/__init__.py
 src/coursebox/book/exam_includer.py
 src/coursebox/core/__init__.py
diff --git a/src/coursebox/admin/__init__.py b/src/coursebox/admin/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/src/coursebox/core/info_paths.py b/src/coursebox/core/info_paths.py
index 22714ab..a775779 100644
--- a/src/coursebox/core/info_paths.py
+++ b/src/coursebox/core/info_paths.py
@@ -69,6 +69,9 @@ def get_paths():
         'docs': root_02450public +"/src/docs",
         'src': root_02450public + "/src",
     }
+    if not os.path.isdir(paths['book']):
+        paths['book'] =  root_02450public + "/Notes/Latex"
+
     if os.path.exists(os.path.dirname(paths['instructor_project_evaluations'])):
         if not os.path.isdir(paths['instructor_project_evaluations']):
             os.mkdir(paths['instructor_project_evaluations'])
-- 
GitLab