mirror of
https://github.com/WGDashboard/WGDashboard-PRW.git
synced 2026-08-03 22:42:57 +00:00
feat: init setup reading ini config
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/env python3
|
||||
|
||||
import logging as log
|
||||
|
||||
from modules.config.reader import reader
|
||||
|
||||
if __name__ == '__main__':
|
||||
log.basicConfig(level=log.DEBUG)
|
||||
|
||||
config_contents = reader.read_config()
|
||||
log.info(config_contents)
|
||||
input()
|
||||
config_contents = reader.refresh_config(config_contents)
|
||||
log.info(config_contents)
|
||||
Reference in New Issue
Block a user