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