Queer European MD passionate about IT
Selaa lähdekoodia

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

Otherwise, relative imports (`from . import`) cannot be resolved
Davte 5 vuotta sitten
vanhempi
commit
8217fa6ceb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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