Browse Source

[#1] Save latest changes before complete remote reinstall

Lange François 2 weeks ago
parent
commit
7bdaf78fe7
2 changed files with 4 additions and 0 deletions
  1. BIN
      delivery.zip
  2. 4 0
      scripts/taiga_sync_final.py

BIN
delivery.zip


+ 4 - 0
scripts/taiga_sync_final.py

@@ -5,6 +5,10 @@ import urllib3
 import os
 import re
 import sys
+from dotenv import load_dotenv
+
+repo_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+load_dotenv(dotenv_path=os.path.join(repo_root, ".env"))
 
 if hasattr(sys.stdout, 'reconfigure'):
     sys.stdout.reconfigure(encoding='utf-8')