summaryrefslogtreecommitdiff
path: root/temp0/boot.py
diff options
context:
space:
mode:
Diffstat (limited to 'temp0/boot.py')
-rw-r--r--temp0/boot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/temp0/boot.py b/temp0/boot.py
new file mode 100644
index 0000000..0d30893
--- /dev/null
+++ b/temp0/boot.py
@@ -0,0 +1,2 @@
+config = dict(map(lambda x: (x[0], int(x[1]) if x[1].isdigit() else x[1][1:-1] if x[1].startswith('"') and x[1].endswith('"') else x[1]), map(lambda x: x.strip().split("=", 1), filter(lambda x: '=' in x, open(".config").readlines()))))
+