可用性改进
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
import pathlib
|
||||
import toml
|
||||
import time
|
||||
|
||||
class Aux():
|
||||
@staticmethod
|
||||
def get_daystamp():
|
||||
return (time.time() // (24*3600))
|
||||
import auxiliary as aux
|
||||
|
||||
class Electron():
|
||||
"""电子: 记忆分析元数据及算法"""
|
||||
@@ -69,7 +65,7 @@ class Electron():
|
||||
else:
|
||||
self.interval = round(self.interval * self.efactor)
|
||||
|
||||
self.last_date = Aux.get_daystamp()
|
||||
self.last_date = aux.get_daystamp()
|
||||
self.next_date = self.last_date + self.interval
|
||||
|
||||
def __str__(self):
|
||||
|
Reference in New Issue
Block a user