run script changed

This commit is contained in:
Your Name 2024-12-13 22:25:29 +03:00
parent 95d673466f
commit a0857c2888

4
run
View file

@ -1,2 +1,6 @@
#!/bin/sh #!/bin/sh
if [ -d "venv" ]; then
. venv/bin/activate && python3 ubot.py . venv/bin/activate && python3 ubot.py
else
python3 ubot.py
fi