This commit is contained in:
Cayo Puigdefabregas 2021-12-03 09:54:59 +01:00
parent efa2ae9a92
commit daed1bdafb

View file

@ -155,6 +155,7 @@ class ActionsDocumentView(DeviceView):
def generate_post_csv(self, query):
"""Get device query and put information in csv format."""
# import pdb; pdb.set_trace()
data = StringIO()
cw = csv.writer(data, delimiter=';', lineterminator="\n", quotechar='"')
first = True