ck 4 éve
szülő
commit
ded67f233f
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      handlers/TaskHandler.py

+ 2 - 2
handlers/TaskHandler.py

@@ -5,9 +5,9 @@ import subprocess
 
 class SrcBookInfo(BaseHandler):
     def get(self):
-        p = subprocess.Popen('source ~/.bashrc && /root/.local/share/virtualenvs/DataCenter-EjFsiCkN/bin/python /root/DataCenter/app/etl/src/src_book_info.py')
+        p = subprocess.Popen('source ~/.bashrc && /root/.local/share/virtualenvs/DataCenter-EjFsiCkN/bin/python /root/DataCenter/app/etl/src/src_book_info.py',shell=True)
         p.wait()
-        self.write('ok')
+