Queer European MD passionate about IT
Parcourir la source

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

Otherwise, relative imports (`from . import`) cannot be resolved
Davte il y a 5 ans
Parent
commit
8217fa6ceb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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