|
@@ -6,8 +6,8 @@ from model import DingTalkUtils
|
|
|
class SrcBookInfo(BaseHandler):
|
|
|
def get(self):
|
|
|
val= os.popen('source ~/.bashrc && /root/.local/share/virtualenvs/DataCenter-EjFsiCkN/bin/python /root/DataCenter/app/etl/src/src_book_info.py')
|
|
|
- self.write(val)
|
|
|
- DingTalkUtils.send('DataCenter任务刷新:'+val)
|
|
|
+ self.write(val.read())
|
|
|
+ DingTalkUtils.send('DataCenter任务刷新:'+val.read())
|
|
|
|
|
|
|
|
|
|