Skip to content

Commit

Permalink
remove exception check for check_upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Oct 11, 2023
1 parent c9574b3 commit 708a0bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/besapi/besapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,10 +614,7 @@ def upload(self, file_path, file_name=None, file_hash=None):

check_upload = None
if file_hash:
try:
check_upload = self.get_upload(str(file_name), str(file_hash))
except BaseException as err: # pylint: disable=broad-except
print(err)
check_upload = self.get_upload(str(file_name), str(file_hash))

if check_upload:
besapi_logger.warning(
Expand Down

0 comments on commit 708a0bf

Please sign in to comment.