We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8c8337 commit 9b88b80Copy full SHA for 9b88b80
1 file changed
api/utils/storage/BaseStorage.py
@@ -73,7 +73,9 @@ def test(url):
73
74
def __init__(self, url, **kwargs):
75
self.url = url
76
- self.status = kwargs.get("status", None)
+ status = kwargs.get("status", None)
77
+ if status:
78
+ self.status = status
79
80
def updateStatus(self, type, progress):
81
if hasattr(self, "status"):
0 commit comments