mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-25 23:21:41 +03:00
fixed typo on storage locator. (The bug is in a code that is not used, but maybe in a future...)
This commit is contained in:
parent
d5f84a4209
commit
ed15178549
@ -244,7 +244,7 @@ class Storage:
|
||||
if isinstance(attr1, str):
|
||||
query = DBStorage.objects.filter(owner=self._owner, attr1=attr1) # @UndefinedVariable
|
||||
else:
|
||||
query = DBStorage.objects.filter(owner=self._owner, attr1_in=attr1) # @UndefinedVariable
|
||||
query = DBStorage.objects.filter(owner=self._owner, attr1__in=attr1) # @UndefinedVariable
|
||||
|
||||
for v in query:
|
||||
yield typing.cast(bytes, encoders.decode(v.data, 'base64'))
|
||||
|
Loading…
Reference in New Issue
Block a user