This commit is contained in:
SpudGunMan
2024-12-12 14:45:15 -08:00
parent 2012986aff
commit 895e5a2b07
2 changed files with 3 additions and 2 deletions
+3 -1
View File
@@ -76,10 +76,12 @@ if [ $venv == "y" ]; then
printf "\nVirtual environment not found, trying `sudo apt-get install python3-venv`\n"
sudo apt-get install python3-venv
fi
# create virtual environment
python3 -m venv venv
# double check for python3-venv
if [ -f venv/bin/activate ]; then
printf "\nFound virtual environment for python\n"
python3 -m venv venv
source venv/bin/activate
else
printf "\nPython3 venv module not found, please install python3-venv with your OS\n"
-1
View File
@@ -1041,7 +1041,6 @@ async def handleSentinel(deviceID=1):
if metadata.get('precisionBits') is not None:
resolution = metadata.get('precisionBits')
logger.warning(f"System: {enemySpotted} is close to your location on Interface1 Accuracy is {resolution}bits")
send_message(f"Sentry{deviceID}: {enemySpotted}", secure_channel, 0, deviceID)
if enableSMTP and email_sentry_alerts: