Skip to content

Commit

Permalink
make sure the latest user certs are written to tak folders as well
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Jan 26, 2025
1 parent 172ba2f commit 057357c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/takrmapi/tak_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ async def add_user_to_tak_with_cert(self) -> bool:
# THIS SHOULD BE CHANGED TO BE DONE THROUGH REST IF POSSIBLE
# Or via Pyjnius, or via PyIgnite
#
await self.user_cert_write()
tasks = []
for certname in self.enable_user_cert_names:
tasks.append(
Expand Down Expand Up @@ -405,6 +406,7 @@ async def add_admin_to_tak_with_cert(self) -> bool:
# Or via Pyjnius, or via PyIgnite
#

await self.user_cert_write()
tasks = []
for certname in self.enable_user_cert_names:
tasks.append(
Expand Down Expand Up @@ -437,6 +439,7 @@ async def delete_user_with_cert(self) -> bool:
# THIS SHOULD BE CHANGED TO BE DONE THROUGH REST IF POSSIBLE
# Or via Pyjnius, or via PyIgnite
#
await self.user_cert_write()
tasks = []
for certname in self.enable_user_cert_names:
tasks.append(
Expand Down

0 comments on commit 057357c

Please sign in to comment.