mirror of
https://github.com/pi-hole/FTL.git
synced 2025-12-24 11:48:27 +00:00
!!! BREAKING CHANGE !!! Redesign TOML config structure
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -67,7 +67,7 @@ class FTLAPI():
|
||||
# Iterate over all lines
|
||||
for line in f:
|
||||
# Find the line with the password hash
|
||||
if line.startswith(" pwhash = "):
|
||||
if line.startswith(" pwhash = "):
|
||||
# Remove quotes and whitespace
|
||||
line = line.split("=")[1].split("\"")
|
||||
if len(line) > 2:
|
||||
|
||||
Reference in New Issue
Block a user