Queer European MD passionate about IT
Explorar el Código

Run ciclopibot as module now, as it is now a module

Otherwise, relative imports (`from . import`) cannot be resolved
Davte hace 5 años
padre
commit
8217fa6ceb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      run_me.sh

+ 1 - 1
run_me.sh

@@ -53,6 +53,6 @@ do
   $python_virtual_environment/pip install --upgrade --no-cache-dir \
   --no-deps davtelepot;
   echo "Running python script";
-  $python_virtual_environment/python $python_script;
+  $python_virtual_environment/python -m ciclopibot.bot;
   i=$?;
 done