add new option

This commit is contained in:
2021-01-09 08:42:58 +08:00
parent 3ad22a14d2
commit 493ee0f270
2 changed files with 7 additions and 1 deletions

View File

@@ -60,6 +60,8 @@ class RSSCheckerThread(Thread):
rss.title, rss.url, updateTime, rss.hashList, p.ttl)
except:
print(format_exc())
if self._main._commandLine._rebuildHashlist and self._main._commandLine._exitAfterRebuild:
exit(0)
self._main._commandLine._rebuildHashlist = False
def __init__(self, m):