forgot something

This commit is contained in:
JerryXiao 2019-04-09 15:49:25 +08:00
parent 87b7d11651
commit ec0d33b2a4
Signed by: Jerry
GPG key ID: 9D9CE43650FF2BAA

View file

@ -125,6 +125,8 @@ class jobsManager:
# This part check for updates # This part check for updates
if time() - self.last_updatecheck <= UPDATE_INTERVAL: if time() - self.last_updatecheck <= UPDATE_INTERVAL:
sleep(60) sleep(60)
return
self.last_updatecheck = time()
updates = updmgr.check_update() updates = updmgr.check_update()
for update in updates: for update in updates:
(pkgconfig, ver, buildarchs) = update (pkgconfig, ver, buildarchs) = update