mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
use toml
This commit is contained in:
parent
80824b7920
commit
d1d1a4f2fe
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue