def modify_default_file(old_file):
    if (PY_VER[0] == '2'):
        with open(('%s/conf/weixin_template/config/default.json' % blueapps.__path__[0]), 'r') as json_file:
            get_default_content(old_file, json_file)
    else:
        with open(('%s/conf/weixin_template/config/default.json' % blueapps.__path__[0]), 'r', encoding='utf-8') as json_file:
            get_default_content(old_file, json_file)
def modify_default_file(old_file):
    if (PY_VER[0] == '2'):
        with open(('%s/conf/weixin_template/config/default.json' % blueapps.__path__[0]), 'r') as json_file:
            get_default_content(old_file, json_file)
    else:
        with open(('%s/conf/weixin_template/config/default.json' % blueapps.__path__[0]), 'r', encoding='utf-8') as json_file:
            get_default_content(old_file, json_file)