Update version in pyproject.toml, fix count assignment in main()

- Update version in pyproject.toml to 0.1.1
- Fix count assignment in main() to use ternary operator instead of if-else statement
This commit is contained in:
Kumi 2023-09-03 08:27:07 +02:00
parent b786097a47
commit 05842e102a
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "kalente"
version = "0.1.0"
version = "0.1.1"
authors = [
{ name="Kumi Mitterer", email="kalente@kumi.email" },
]

View file

@ -171,8 +171,11 @@ def main():
pages = []
count = 1
if args.count:
count = args.count
elif args.end_date:
end_date = parse(args.end_date).date()