diff --git a/install.sh b/install.sh index aadb6d6..9bd7299 100755 --- a/install.sh +++ b/install.sh @@ -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" diff --git a/modules/system.py b/modules/system.py index 4e8010f..5ea36b9 100644 --- a/modules/system.py +++ b/modules/system.py @@ -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: