final log
This commit is contained in:
parent
7c8f44988a
commit
2e4cfb8852
|
|
@ -454,7 +454,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
|
||||
response_status += " FEHLER BEI STANDARD " + str(standard.pk) + " " + r.text + " XML " + filesearchdata
|
||||
else:
|
||||
ncfile = NCFile.objects.create(agency=standard.agency, nc_id=fileid, file_id=f)
|
||||
standard.addedfiles_nc.add(ncfile)
|
||||
|
|
|
|||
Loading…
Reference in New Issue