Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Fix flake8
  • Loading branch information
webb-ben committed Aug 28, 2023
1 parent baf0619 commit a313f25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wis2box-management/wis2box/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def remove_collection(collection_id: str, backend: bool = True,
api_backend.delete_collection(collection_data)

if api_backend is not None and api_backend.has_collection(collection_data):
LOGGER.error(f'Unable to remove collection backend for {collection_id}')
msg = f'Unable to remove collection backend for {collection_id}'
LOGGER.error(msg)
return False

if api_config is not None and api_config.has_collection(collection_data):
Expand Down

0 comments on commit a313f25

Please sign in to comment.