mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
Update README.md
This commit is contained in:
parent
46cfdb26c3
commit
ee1b5b8ace
@ -38,8 +38,8 @@ pip install BlitzPy
|
|||||||
from blitzpy import RaspiBlitzConfig
|
from blitzpy import RaspiBlitzConfig
|
||||||
cfg = RaspiBlitzConfig()
|
cfg = RaspiBlitzConfig()
|
||||||
cfg.reload()
|
cfg.reload()
|
||||||
print(cfg.hostname)
|
print(cfg.hostname.value)
|
||||||
if cfg.run_behind_tor:
|
if cfg.run_behind_tor.value:
|
||||||
print("using TOR!")
|
print("using TOR!")
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -51,9 +51,9 @@ In order to change the content of a setting the `value` attribute needs to be up
|
|||||||
from blitzpy import RaspiBlitzConfig
|
from blitzpy import RaspiBlitzConfig
|
||||||
cfg = RaspiBlitzConfig()
|
cfg = RaspiBlitzConfig()
|
||||||
cfg.reload()
|
cfg.reload()
|
||||||
print(cfg.hostname)
|
print(cfg.hostname.value)
|
||||||
cfg.hostname.value = "New-Hostname!"
|
cfg.hostname.value = "New-Hostname!"
|
||||||
print(cfg.hostname)
|
print(cfg.hostname.value)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Exporting
|
### Exporting
|
||||||
|
Loading…
Reference in New Issue
Block a user