Skip to content

Commit

Permalink
fix reconnect on folder create
Browse files Browse the repository at this point in the history
  • Loading branch information
unbekanntes-pferd committed May 26, 2023
1 parent 2eab4d2 commit e951ca2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion dccmd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""

__version__ = "0.4.2-SNAPSHOT"
__version__ = "0.4.2"

# std imports
import sys
Expand Down
1 change: 0 additions & 1 deletion dccmd/main/upload/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ async def process_batch(batch):
# process 3 batches in parallel per level
for batch in dracoon.batch_process(coro_list=folder_reqs, batch_size=3):
try:
await dracoon.connect(connection_type=OAuth2ConnectionType.refresh_token)
await asyncio.gather(*batch)
except DRACOONHttpError:
for req in folder_reqs:
Expand Down

0 comments on commit e951ca2

Please sign in to comment.