mirror of
https://github.com/Snigdha-OS/snigdhaos-blackbox.git
synced 2025-09-21 12:05:02 +02:00
⏳ @eshanized updated the repository!!!
This commit is contained in:
@@ -89,3 +89,6 @@ try:
|
|||||||
except os.error as oserror:
|
except os.error as oserror:
|
||||||
print("[ERROR] Exception: %s" % oserror)
|
print("[ERROR] Exception: %s" % oserror)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
# NOTE: Read Config File dst: $HOME/.config/blackbox/blackbox.yaml
|
||||||
|
# NOTE: Initiate logger
|
||||||
|
12
blackbox/Settings.py
Normal file
12
blackbox/Settings.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/python
|
||||||
|
|
||||||
|
import os
|
||||||
|
import Functions as fn
|
||||||
|
import string
|
||||||
|
from string import Template
|
||||||
|
|
||||||
|
# NOTE: Base Directory
|
||||||
|
base_dir = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
|
||||||
|
# NOTE: Deafult Config File
|
||||||
|
default_file = "%s/defaults/blackbox.yaml"
|
Reference in New Issue
Block a user