mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08: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…
x
Reference in New Issue
Block a user