mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 10:33:44 +08:00
@@ -38,7 +38,11 @@ class Updater(Config, Installer):
|
|||||||
@property
|
@property
|
||||||
def schedule_time(self):
|
def schedule_time(self):
|
||||||
self.read()
|
self.read()
|
||||||
return datetime.time.fromisoformat(self.config['AutoRestartTime'])
|
t = self.config['AutoRestartTime']
|
||||||
|
if t != '':
|
||||||
|
return datetime.time.fromisoformat(t)
|
||||||
|
else:
|
||||||
|
return None
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def repo(self):
|
def repo(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user