mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-19 03:27:57 -04:00
Cleanup
This commit is contained in:
parent
5f7694afdd
commit
9827da9e0f
3 changed files with 5 additions and 2 deletions
|
@ -56,6 +56,10 @@ class Reticulum:
|
|||
value = self.config["logging"][option]
|
||||
if option == "loglevel":
|
||||
RNS.loglevel = int(value)
|
||||
if RNS.loglevel < 0:
|
||||
RNS.loglevel = 0
|
||||
if RNS.loglevel > 6:
|
||||
RNS.loglevel = 6
|
||||
|
||||
for name in self.config["interfaces"]:
|
||||
c = self.config["interfaces"][name]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue