← back to Exo
also use tempdir for .exo_node_id to keep the dir clean
4923eb7e441a643091c7b80c8b2a715516552f8f · 2024-10-02 15:24:53 +0400 · Alex Cheema
Files touched
Diff
commit 4923eb7e441a643091c7b80c8b2a715516552f8f
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Wed Oct 2 15:24:53 2024 +0400
also use tempdir for .exo_node_id to keep the dir clean
---
exo/helpers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exo/helpers.py b/exo/helpers.py
index 802757b7..e076019d 100644
--- a/exo/helpers.py
+++ b/exo/helpers.py
@@ -170,7 +170,7 @@ def is_valid_uuid(val):
def get_or_create_node_id():
- NODE_ID_FILE = Path(os.path.dirname(os.path.abspath(__file__)))/".exo_node_id"
+ NODE_ID_FILE = Path(tempfile.gettempdir()) / ".exo_node_id"
try:
if NODE_ID_FILE.is_file():
with open(NODE_ID_FILE, "r") as f:
← 1ccfdc3c give examples of device configurations in readme
·
back to Exo
·
fix ci to use exo command instead of python3 main.py be9f2e79 →