global_access.py 文件源码

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

项目:pysport 作者: sportorg 项目源码 文件源码
def auto_save(self):
        main_window = self.get_main_window()
        if not main_window:
            return
        if not main_window.get_configuration().get('autosave'):
            return
        if main_window.file:
            main_window.save_file()
            logging.info(_('Auto save'))
        else:
            logging.warning(_('No file to auto save'))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号