mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 05:09:40 +02:00
use toml
This commit is contained in:
parent
80824b7920
commit
d1d1a4f2fe
@ -56,6 +56,7 @@ if sys.argv[1] == "menu":
|
||||
with open('/mnt/hdd/raspiblitz.conf', 'r') as myfile:
|
||||
data=myfile.read()
|
||||
print(data)
|
||||
import toml
|
||||
parsed_toml = toml.loads(data)
|
||||
print(parsed_toml)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user