mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
parent
1531808b6f
commit
918d06a893
@ -38,7 +38,11 @@ class Updater(Config, Installer):
|
||||
@property
|
||||
def schedule_time(self):
|
||||
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
|
||||
def repo(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user