mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
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:
parent
bd021e0d43
commit
e23d7435c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user