remove erronous assign

This commit is contained in:
Matthias Mair 2026-06-24 01:03:17 +02:00
parent e2d493f00d
commit f8a396734d
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 0 additions and 1 deletions

View File

@ -79,7 +79,6 @@ class InvenTreeInternalBarcodePlugin(SettingsMixin, BarcodeMixin, InvenTreePlugi
try:
instance = model.objects.get(pk=int(pk))
user = getattr(self, 'user', None)
return self.format_matched_response(label, model, instance, user=user)
except (ValueError, model.DoesNotExist):
pass