|
@@ -10,8 +10,6 @@ from matplotlib.figure import Figure
|
|
|
from matplotlib import ticker
|
|
|
from io import BytesIO
|
|
|
import logging
|
|
|
-import time as time
|
|
|
-
|
|
|
|
|
|
class MchDataCenter(object):
|
|
|
pos_map = {
|
|
@@ -452,7 +450,7 @@ class MchDataCenter(object):
|
|
|
|
|
|
while True:
|
|
|
try:
|
|
|
- time_sec = int(time.time())
|
|
|
+ time_sec = int(stime.time())
|
|
|
presecs = [900, 1800, 3600, 7200, 86400]
|
|
|
mratios = self.mratios(time_sec, presecs)
|
|
|
|