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:
parent
4f0f111ed7
commit
e5acc4fd1d
3 changed files with 8 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue