From 8dece8a7e637ee8abf6c40ea1fb519d9afd2b126 Mon Sep 17 00:00:00 2001 From: Holger Trampe Date: Sat, 23 Oct 2021 02:04:52 +0200 Subject: [PATCH] =?UTF-8?q?f=C3=BCr=20m=C3=BCsek?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/templates/adm/adm_import_flow.html | 4 ++-- api/views.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adm/templates/adm/adm_import_flow.html b/adm/templates/adm/adm_import_flow.html index 1b75cc5..81369c5 100644 --- a/adm/templates/adm/adm_import_flow.html +++ b/adm/templates/adm/adm_import_flow.html @@ -28,10 +28,10 @@ $(document).ready(function(){ // FIRST CALL GROUPS, When Groups finished User will call by Groups - createAgencyGroups(groupids[0]); + //createAgencyGroups(groupids[0]); //DEV - //rebuildingStandards(standards[0]); + rebuildingStandards(standards[0]); //addGroupFolder(); //addDirs(dirids[0]); }) diff --git a/api/views.py b/api/views.py index 4e610d7..2c67eb4 100644 --- a/api/views.py +++ b/api/views.py @@ -449,7 +449,7 @@ def NCSwitchStandardFiles(request): r = requests.request("SEARCH", settings.NEXTCLOUD_URL + "remote.php/dav", data=filesearchdata, auth=(settings.NEXTCLOUD_USER_API, settings.NEXTCLOUD_PW_API), headers={'Content-Type' : 'text/xml'}) fileid = getFileIdFromXML(r.text) if(fileid == None): - response_status += " FEHLER BEI STANDARD " + str(standard.pk) + " " + r.text + " XML " + filesearchdata + response_status += " FEHLER BEI STANDARD " + str(standard.pk) + " " else: ncfile = NCFile.objects.create(agency=standard.agency, nc_id=fileid, file_id=f) standard.addedfiles_nc.add(ncfile)