算法修复与实验性扩展支持
This commit is contained in:
1
main.py
1
main.py
@@ -13,7 +13,6 @@ class AppLauncher(App):
|
||||
def on_mount(self) -> None:
|
||||
self.push_screen("dashboard")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
script_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
os.chdir(script_dir)
|
||||
|
1
plugin/heursync/screens.py
Normal file
1
plugin/heursync/screens.py
Normal file
@@ -0,0 +1 @@
|
||||
# HeurSync 同步器
|
@@ -22,7 +22,8 @@ class Glimpse():
|
||||
self.is_initialized = 1
|
||||
self.total_num = len(self.elt_u.electrons)
|
||||
for i in self.elt_u.electrons:
|
||||
self.next_date = max(self.next_date, i['next_date'])
|
||||
if i['next_date'] != 0:
|
||||
self.next_date = min(self.next_date, i['next_date'])
|
||||
self.lastest_date = max(self.lastest_date, i['last_date'])
|
||||
if i['is_activated']:
|
||||
self.avg_efactor += i['efactor']
|
||||
|
Reference in New Issue
Block a user