Skip to content

Missing shebang and executable bit in example scripts #2

@joshinils

Description

@joshinils
diff --git a/example/monitoring.py b/example/monitoring.py
old mode 100644
new mode 100755
index cea95be..e95799b
--- a/example/monitoring.py
+++ b/example/monitoring.py
@@ -1,7 +1,9 @@
-from Tasmota import Tasmota
+#!/usr/bin/env python3
+
+from Tasmota.Tasmota import Tasmota
 from time import sleep
 
 ipv4 = "192.168.2.107"
 dev = Tasmota(ipv4)
 print(dev.get_name())

and a simple chmod +x example/*.py helped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions