|
@@ -2,7 +2,7 @@
|
|
|
import os
|
|
|
import sys
|
|
|
import traceback
|
|
|
-from my_utils import request_post
|
|
|
+
|
|
|
root_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
|
|
if root_dir not in sys.path:
|
|
|
sys.path.append(root_dir)
|
|
@@ -13,7 +13,7 @@ from multiprocessing import Process
|
|
|
from odps import ODPS
|
|
|
from threading import Timer
|
|
|
import threading
|
|
|
-from my_utils import RedisHelper, execute_sql_from_odps
|
|
|
+from my_utils import RedisHelper, execute_sql_from_odps, request_post
|
|
|
from my_config import set_config
|
|
|
from log import Log
|
|
|
import json
|