Added categories lookup file

This commit is contained in:
viveksantayana committed 2021-07-20 17:28:38 +01:00
1 parent 45f7edb75d
commit c6113e31eb
2 files changed
+7

No files matched your search

+6
View File
@@ -48,6 +48,12 @@ gmFile = os.getenv('GM') if os.getenv('GM').endswith('.yml') or os.getenv('GM').
if not os.path.exists(gmFile):
yaml_dump({},gmFile)
# Locate or create Categories lookup file. Same as above.
categoriesFile = os.getenv('CATEGORIES') if os.getenv('CATEGORIES').endswith('.yml') or os.getenv('CATEGORIES').endswith('.yaml') else './data/categories.yml'
if not os.path.exists(categoriesFile):
yaml_dump({},categoriesFile)
# Locate Cogs Directory
cogsDir = 'cogs'
+1
View File
@@ -0,0 +1 @@
{}