diff --git a/ereuse_devicehub/resources/documents/documents.py b/ereuse_devicehub/resources/documents/documents.py index 842a945a..7373f91a 100644 --- a/ereuse_devicehub/resources/documents/documents.py +++ b/ereuse_devicehub/resources/documents/documents.py @@ -139,7 +139,7 @@ class StockDocumentView(DeviceView): cw = csv.writer(data) first = True for device in query: - d = StockRow(device) + d = StockRow(device) if first: cw.writerow(d.keys()) first = False