From a0857c2888bcd74f87dd440f5105d6afa27df934 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 13 Dec 2024 22:25:29 +0300 Subject: [PATCH] run script changed --- run | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/run b/run index d9155f7..b011b80 100755 --- a/run +++ b/run @@ -1,2 +1,6 @@ #!/bin/sh -. venv/bin/activate && python3 ubot.py +if [ -d "venv" ]; then + . venv/bin/activate && python3 ubot.py +else + python3 ubot.py +fi