.
This commit is contained in:
17
config.py
17
config.py
@@ -137,15 +137,16 @@ def config_write():
|
||||
cfg[item] = t[item]
|
||||
|
||||
|
||||
# def get_emu(option=None):
|
||||
# if option:
|
||||
# r = cfg[cfg['Emulator']][option]
|
||||
# else:
|
||||
# r = cfg[cfg['Emulator']]
|
||||
# return r
|
||||
def get_emu(option=None):
|
||||
if option:
|
||||
r = cfg[cfg["Emulator"]][option]
|
||||
else:
|
||||
r = cfg[cfg["Emulator"]]
|
||||
return r
|
||||
|
||||
# def set_emu(option, data):
|
||||
# cfg[cfg['Emulator']][option] = data
|
||||
|
||||
def set_emu(option, data):
|
||||
cfg[cfg["Emulator"]][option] = data
|
||||
|
||||
|
||||
def get_emulators():
|
||||
|
||||
Reference in New Issue
Block a user