From 2a44f6bae1d8c3b571c8fe6f6b9ed1eb9f2358f2 Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 30 Aug 2023 13:52:20 +0100 Subject: [PATCH] Add python environment #! In order for MacroDroid to run script every X amount of time and on boot but it needs to know it's a python script. #!/usr/bin/env python --- demo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demo.py b/demo.py index ef522ff..ca48ad3 100644 --- a/demo.py +++ b/demo.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import json import logging import os