main.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:webupdate 作者: Bakterija 项目源码 文件源码
def __init__(self, **kwargs):
        super(WebUpdate, self).__init__(**kwargs)
        self.rv_append('Init Apache App')
        self.apu = ApacheUpdater()
        if platform == 'android':
            self.apu.version_path = path[4]+'/web_updater/version.txt'
            self.apu.update_path = path[4]+'/'
            self.ids.fcs.path = path[4]
        else:
            self.apu.version_path =path[0]+'/web_updater/version.txt'
            self.apu.update_path = path[0]+'/'
            self.ids.fcs.path = path[0]
        self.apu.http_path = 'http://localhost/'
        self.apu.logger = self.rv_append
        try:
            self.apu.check_update_thread()
        except:
            self.rv_append(traceback.format_exc())

        self.ids.pep_widget.on_pep1 = self.browse_pep1
        self.ids.pep_widget.on_pep8 = self.browse_pep8
        self.ids.pep_widget.on_pep249 = self.browse_pep249
        self.ids.pep_widget.on_pep255 = self.browse_pep255
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号