Debug with global config variable
Build, push image, and notify Watchtower / build-image (push) Successful in 37s
Build, push image, and notify Watchtower / notify (push) Successful in 8s

This commit is contained in:
2026-07-23 17:06:17 +02:00
parent 181a395b4d
commit 5a737c931c
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import uuid
from flask import Flask, request, jsonify
from pymongo import MongoClient
from tools.aichat import generate
from shared import config
app = Flask(__name__)
@@ -95,4 +96,4 @@ def device_network():
if __name__ == "__main__":
app.run(debug=True)
app.run(debug=config.DEBUG)
@@ -15,8 +15,9 @@
import time,sys
import RPi.GPIO as GPIO
import smbus
from shared import config
debug = 0
debug = config.DEBUG
# use the bus that matches your raspi version
rev = GPIO.RPI_REVISION
if rev == 2 or rev == 3: