claude unstested update for moving from wp to project -> wp to task

This commit is contained in:
buenosairesam
2025-10-03 04:47:13 -03:00
parent 72f9e9d9a7
commit 71752c7d76
10 changed files with 237 additions and 146 deletions

View File

@@ -2,6 +2,7 @@
import logging
from pymongo import MongoClient
from zoneinfo import ZoneInfo
# Logging configuration
logging.basicConfig(
@@ -9,7 +10,7 @@ logging.basicConfig(
format="%(asctime)s %(levelname)-8s [%(filename)s:%(lineno)d] %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
)
# 2) Get your modules logger and bump it to DEBUG
# 2) Get your module's logger and bump it to DEBUG
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
@@ -25,3 +26,9 @@ db = client.deskmeter
switches = db.switch
states = db.state
tasks = db.task
# Application configuration
desktops = ("Plan", "Think", "Work", "Other", "Away", "Work", "Work", "Work")
unlabeled = "Away"
timezone = ZoneInfo("America/Argentina/Buenos_Aires")
task_file = "/home/mariano/LETRAS/adm/task/main"