def rewrite_local_config(mobsf_home):
 CONFIG['MobSF']['subdir_tools'] = (mobsf_home + '\\StaticAnalyzer\\tools\\windows\\')
 CONFIG['MobSF']['dir'] = mobsf_home
 with open(os.path.join(CONFIG_PATH, CONFIG_FILE), 'w') as configfile:
  CONFIG.write(configfile)

def rewrite_local_config ( mobsf_home ) : CONFIG [ 'MobSF' ] [ 'subdir_tools' ] = ( mobsf_home + '\\StaticAnalyzer\\tools\\windows\\' ) CONFIG [ 'MobSF' ] [ 'dir' ] = mobsf_home with open ( os . path . join ( CONFIG_PATH , CONFIG_FILE ) , 'w' ) as configfile : CONFIG . write ( configfile )
for local installation some config-vars need to be rewritten .