mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-23 15:04:29 +02:00
pared config
This commit is contained in:
parent
c2f4ba5e01
commit
80824b7920
@ -48,14 +48,16 @@ if sys.argv[1] == "menu":
|
||||
print (key)
|
||||
print("\n")
|
||||
if tag == "(3)":
|
||||
print ("Needs: pip install toml")
|
||||
print ("Needs: pip3 install toml")
|
||||
import toml
|
||||
toml_string = """
|
||||
"""
|
||||
if tag == "(4)":
|
||||
with open('/mnt/hdd/raspiblitz.conf', 'r') as myfile:
|
||||
data=myfile.read()
|
||||
print(data)
|
||||
print(data)
|
||||
parsed_toml = toml.loads(data)
|
||||
print(parsed_toml)
|
||||
|
||||
else:
|
||||
print("Cancel")
|
Loading…
x
Reference in New Issue
Block a user