|
@@ -64,13 +64,13 @@ def DBServer():
|
|
|
local_host = config.get('DBserver', 'local_host')
|
|
|
local_port = config.get('DBserver', 'local_port')
|
|
|
local_user = "user1" #config.get('DBserver', 'local_user')
|
|
|
- local_password = "a123456s" #config.get('DBserver', 'local_password')
|
|
|
- #local_password = "m6kJzXPMbuMq" #config.get('DBserver', 'local_password')
|
|
|
+ #local_password = "a123456s" #config.get('DBserver', 'local_password')
|
|
|
+ local_password = "m6kJzXPMbuMq" #config.get('DBserver', 'local_password')
|
|
|
online_host = config.get('DBserver', 'online_host')
|
|
|
online_port = config.get('DBserver', 'online_port')
|
|
|
online_user = "user1" #config.get('DBserver', 'online_user')
|
|
|
- online_password = "a123456s" #config.get('DBserver', 'online_password')
|
|
|
- #online_password = "m6kJzXPMbuMq" #config.get('DBserver', 'online_password')
|
|
|
+ #online_password = "a123456s" #config.get('DBserver', 'online_password')
|
|
|
+ online_password = "m6kJzXPMbuMq" #config.get('DBserver', 'online_password')
|
|
|
else:
|
|
|
local_host = None
|
|
|
local_port = None
|
|
@@ -185,8 +185,8 @@ def softVersion():
|
|
|
config = ConfigParser()
|
|
|
config.read(ini_path, encoding='utf-8-sig')
|
|
|
if config.has_section('softVersion'):
|
|
|
- old = config.get('softVersion', 'SameDatabase')
|
|
|
- now= config.get('softVersion', 'HighRefreh')
|
|
|
+ old = config.get('softVersion', 'old')
|
|
|
+ now= config.get('softVersion', 'new')
|
|
|
else:
|
|
|
old = None
|
|
|
now = None
|