Skip to content

Commit 0c7a757

Browse files
committed
fix(BaseStorage): mv misplaced .query from BaseArchive to BaseStorage
1 parent e4fbf22 commit 0c7a757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/utils/storage/BaseStorage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class BaseArchive(ABC):
99
def __init__(self, path, status=None):
1010
self.path = path
1111
self.status = status
12-
self.query = {}
1312

1413
def updateStatus(self, type, progress):
1514
if self.status:
@@ -76,6 +75,7 @@ def test(url):
7675
def __init__(self, url, **kwargs):
7776
self.url = url
7877
self.status = kwargs.get("status", None)
78+
self.query = {}
7979

8080
def updateStatus(self, type, progress):
8181
if self.status:

0 commit comments

Comments
 (0)