Minor updates:

- Updates README.md with redactAs
    - Updates .gitignore to exclude developement files
    - Updates tools.py to reword the horodate prefix from "Downloaded at" to "Event last fetched"
This commit is contained in:
xelast418 2023-09-18 10:29:44 +12:00
parent 4f0f111ed7
commit e5acc4fd1d
No known key found for this signature in database
GPG key ID: 76EE00E7C90D5B64
3 changed files with 8 additions and 5 deletions

2
.gitignore vendored
View file

@ -133,6 +133,6 @@ dmypy.json
app/config/calendar.json app/config/calendar.json
/app/cache/ /app/cache/
#development directories # Development directories
/app/config/ /app/config/
.vscode .vscode

View file

@ -59,15 +59,18 @@ The JSON configuration file should look like the following.
}, },
"name":{ "name":{
"addPrefix":"str", "addPrefix":"str",
"addSuffix":"str" "addSuffix":"str",
"redactAs":"str"
}, },
"description":{ "description":{
"addPrefix":"str", "addPrefix":"str",
"addSuffix":"str" "addSuffix":"str",
"redactAs":"str"
}, },
"location":{ "location":{
"addPrefix":"str", "addPrefix":"str",
"addSuffix":"str" "addSuffix":"str",
"redactAs":"str"
} }
} }
} }

View file

@ -422,7 +422,7 @@ def load_cal(entry: dict) -> Calendar:
else: else:
cal = Calendar(imports=r.content.decode()) cal = Calendar(imports=r.content.decode())
cal = horodate(cal, 'Downloaded at') cal = horodate(cal, 'Event last fetched: ')
return cal return cal