mirror of
https://codeberg.org/langfingaz/bbb-status
synced 2024-12-23 00:36:05 +01:00
debug
This commit is contained in:
parent
a920d65b4b
commit
94b10f0300
@ -14,6 +14,8 @@ Save these two values in the first line of the following files:
|
||||
* URL inside `secret/url.txt`
|
||||
* API-secret inside `secret/secret.txt`
|
||||
|
||||
Note: You may `chmod 600` on the two above files.
|
||||
|
||||
## run
|
||||
|
||||
Start logging in the background:
|
||||
|
@ -7,6 +7,8 @@ from langfingaz import logMeetingData
|
||||
|
||||
|
||||
def main():
|
||||
# logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
print("=== bbb-status ===")
|
||||
logging.debug(str(argv))
|
||||
print()
|
||||
|
@ -1,6 +1,6 @@
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
from datetime import date
|
||||
import logging
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
import matplotlib.dates as mdates
|
||||
@ -21,6 +21,7 @@ def plotMeetings(dataDir: Path = fileUtil.getProjectBaseDir().joinpath("data")):
|
||||
|
||||
for file in dataDir.iterdir():
|
||||
if file.name.endswith(".xml"):
|
||||
logging.debug("Reading from file " + str(file))
|
||||
dataStr, t = loadData.loadData(file)
|
||||
meetings: List[Meeting] = parseMeetings.parseMeetingsData(dataStr)
|
||||
bbbStati.append(parseMeetings.BbbStatus(meetings, t))
|
||||
|
Loading…
Reference in New Issue
Block a user