Skip to content

Commit 4c84598

Browse files
committed
export lite even on dirty ws fetch
1 parent 0199a56 commit 4c84598

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snapred/backend/data/GroceryService.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ def tryLiveData():
882882

883883
return self._fetchNeutronDataSingleUse(_item, tryLiveData)
884884

885-
def _fetchNeutronDataLite(self, item: GroceryListItem, export=False) -> Dict[str, Any]:
885+
def _fetchNeutronDataLite(self, item: GroceryListItem, export=True) -> Dict[str, Any]:
886886
_item = item.model_copy(deep=True)
887887
_item.useLiteMode = True
888888

@@ -945,7 +945,7 @@ def fetchNeutronDataSingleUse(self, item: GroceryListItem) -> Dict[str, Any]:
945945
result = None
946946

947947
if useLiteMode:
948-
result = self._fetchNeutronDataLite(item, export=False)
948+
result = self._fetchNeutronDataLite(item, export=True)
949949
else:
950950
result = self._fetchNeutronDataNative(item)
951951
self._processNeutronDataCopy(item, result["workspace"])

0 commit comments

Comments
 (0)