Warehouse

This commit is contained in:
cuu 2019-12-29 00:30:03 +08:00
parent 9062cc8e9b
commit 557cd04b64

View File

@ -59,7 +59,6 @@ class RPCStack:
class LoadHousePage(Page):
_FootMsg = ["Nav.","","","Back","Cancel"]
_DownloaderTimer = -1
_Value = 0
_URL = None
_ListFontObj = MyLangManager.TrFont("varela18")
@ -188,7 +187,6 @@ class LoadHousePage(Page):
class ImageDownloadProcessPage(Page):
_FootMsg = ["Nav.","","","Back",""]
_DownloaderTimer = -1
_Value = 0
_URL = None
_ListFontObj = MyLangManager.TrFont("varela13")
@ -344,7 +342,9 @@ class Aria2DownloadProcessPage(Page):
self._SizeLabel.Init("0/0Kb",MyLangManager.TrFont("varela12"))
self._SizeLabel.SetColor( self._URLColor )
@property
def GObjectUpdateProcessInterval(self):
downloaded = 0
if self._Screen.CurPage() == self and self._GID is not None:
self._Value = config.RPC.tellStatus(self._GID)
@ -371,8 +371,7 @@ class Aria2DownloadProcessPage(Page):
self._Screen.Draw()
self._Screen.SwapAndShow()
return True
else:
return False
def CheckDownload(self,aria2_gid):
self._GID = aria2_gid