mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
bitwarden
This commit is contained in:
2
mqtt_srv.cfg
Normal file
2
mqtt_srv.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[global]
|
||||||
|
mykey = prod/v1/install/
|
||||||
@@ -17,6 +17,13 @@ import ctypes
|
|||||||
import getopt
|
import getopt
|
||||||
import random
|
import random
|
||||||
import requests
|
import requests
|
||||||
|
import ConfigParser
|
||||||
|
config = configparser.ConfigParser()
|
||||||
|
config.read(r'mqtt_srv.cfg')
|
||||||
|
|
||||||
|
print(config.get('global', 'mykey') )
|
||||||
|
|
||||||
|
|
||||||
#import psutil
|
#import psutil
|
||||||
stats = {}
|
stats = {}
|
||||||
VERSION = "1.0.33"
|
VERSION = "1.0.33"
|
||||||
|
|||||||
Reference in New Issue
Block a user