added filter to only get due until today
This commit is contained in:
parent
01171acf35
commit
4d2732da54
3 changed files with 12 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
__pycache__
|
||||
result
|
||||
config.ini
|
||||
config_test.ini
|
||||
password
|
||||
|
|
|
|||
9
config.ini
Normal file
9
config.ini
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[calDAV]
|
||||
address = localhost:5232
|
||||
username = username
|
||||
password = password
|
||||
; password has priority, passwordFile used as fallback
|
||||
passwordFile = /path/to/password
|
||||
[server]
|
||||
port = 8000
|
||||
|
||||
2
main.py
2
main.py
|
|
@ -14,7 +14,7 @@ def parseConfig() -> tuple[str, str, str, str]:
|
|||
return file.readline().strip()
|
||||
|
||||
config = configparser.ConfigParser()
|
||||
# config.read("/etc/calDAVtoCSV/config.ini")
|
||||
# TODO: option to call the one in test instead or specify one
|
||||
config.read("/etc/calDAVtoCSV/config.ini")
|
||||
|
||||
calDavAddress = config.get("calDAV", "address")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue