PEP fixes

This commit is contained in:
Oliver Walters 2022-04-18 23:20:59 +10:00
parent 8a6b16c1d1
commit 1cddb565da

View File

@ -421,7 +421,7 @@ class StockFilter(rest_filters.FilterSet):
queryset = queryset.exclude(batch=None)
else:
queryset = queryset.filter(batch=None)
return queryset
installed = rest_filters.BooleanFilter(label='Installed in other stock item', method='filter_installed')