Compare commits

...

2 Commits

Author SHA1 Message Date
3wc
6e68e85954 Drop click from requirements 2024-02-10 03:35:19 -03:00
3wc
1db3591c05 More error output if global activities forbidden 2024-02-10 03:35:00 -03:00
2 changed files with 1 additions and 3 deletions

View File

@ -680,8 +680,7 @@ def _import(search, after, before):
and not mappings[0].kimai_project.allow_global_activities and not mappings[0].kimai_project.allow_global_activities
): ):
click.secho( click.secho(
f"fact {f.id}: project @{mappings[0].kimai_project.id} {mappings[0].kimai_project.name} does not allow global activity {mappings[0].kimai_activity}", f"fact {f.id}: project @{mappings[0].kimai_project.id} {mappings[0].kimai_project.name} does not allow global activity {mappings[0].kimai_activity} ({mappings[0].hamster_activity.name})", fg="red",
fg="red",
) )
has_errors = True has_errors = True
continue continue

View File

@ -1,4 +1,3 @@
click==8.0.3
requests==2.26.0 requests==2.26.0
peewee==3.17.0 peewee==3.17.0
requests-cache==1.1.1 requests-cache==1.1.1