Improve unzip_file function. Reduce cognitive complexity.

Removed all unspecified exceptions. Removed unneeded calls to other functions.
Reduced size of try catch blocks to just parts of code that could throw an error.
This commit is contained in:
Wout Bouckaert 2024-08-16 15:29:00 -06:00
parent bd021e0d43
commit e23d7435c1
No known key found for this signature in database

View File

@ -13,7 +13,6 @@ import urllib.request
import ssl
import time
import certifi
from jsonschema.exceptions import ValidationError
from app.classes.helpers.helpers import Helpers
from app.classes.shared.console import Console