diff --git a/common/ComicInfo.py b/common/ComicInfo.py index 504fd3d..178c0aa 100644 --- a/common/ComicInfo.py +++ b/common/ComicInfo.py @@ -151,9 +151,7 @@ class ComicInfoUtils: def setProgress(cls,progress): db.set(Comic.getOriginChapterName(),progress,Comic.getOriginComicName()) @classmethod - def isProgress(cls,progress,remove=None): - if remove: cls.setProgress("None") - return db.query(Comic.getOriginChapterName(),progress,Comic.getOriginComicName()) + def isProgress(cls,progress): return db.query(Comic.getOriginChapterName(),progress,Comic.getOriginComicName()) #判断是否完成 @classmethod diff --git a/utils/FileUtils.py b/utils/FileUtils.py index 98e3967..a9fa581 100644 --- a/utils/FileUtils.py +++ b/utils/FileUtils.py @@ -324,6 +324,7 @@ class dbUtils: else: result = False except Exception as e: print(e) + return False return result @classmethod