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:
parent
b786097a47
commit
05842e102a
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "kalente"
|
name = "kalente"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Kumi Mitterer", email="kalente@kumi.email" },
|
{ name="Kumi Mitterer", email="kalente@kumi.email" },
|
||||||
]
|
]
|
||||||
|
|
|
@ -171,8 +171,11 @@ def main():
|
||||||
|
|
||||||
pages = []
|
pages = []
|
||||||
|
|
||||||
|
count = 1
|
||||||
|
|
||||||
if args.count:
|
if args.count:
|
||||||
count = args.count
|
count = args.count
|
||||||
|
|
||||||
elif args.end_date:
|
elif args.end_date:
|
||||||
end_date = parse(args.end_date).date()
|
end_date = parse(args.end_date).date()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue