AppGUI.py 文件源码

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

项目:stash-scanner 作者: senuido 项目源码 文件源码
def init_warn(self):
        warnings = ''
        if not len(cm.rates):
            warnings += 'Currency information is empty because the server returned no data. ' \
                        'Currency rates will be 0 unless set manually.\n'
        if not len(fm.autoFilters):
            warnings += 'Filters were not generated because the server returned no data.\n'

        if warnings:
            warnings += '\nYou can either continue in this mode or restart the application if you wish to try again.'
            messagebox.showwarning('Warning', warnings, parent=self)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号