Private
Public Access
1
0

fixing idoklad

This commit is contained in:
2025-01-17 08:31:26 +01:00
parent 0b44f02cc6
commit cde6e6a6e9
3 changed files with 5 additions and 3 deletions

View File

@@ -87,6 +87,8 @@ def get_contacts(rower):
res = requests.get(url, headers=headers)
dologging('idoklad.log','Searching Contact Status code '+str(res.status_code)+'\n')
#dologging('idoklad.log','Searching Contact Status code '+str(res.text)+'\n')
dologging('idoklad.log','Searching Contact Status code '+str(res.reason)+'\n')
if res.status_code != 200: # pragma: no cover
return None
@@ -146,7 +148,7 @@ def create_contact(rower):
res = requests.post(contacts_url, json=data, headers=headers)
if res.status_code not in [200, 201]:
dologging('idoklad.log','Contact Created - reason '+str(res.reason)+'\n')
dologging('idoklad.log','Contact Not Created - reason '+str(res.reason)+'\n')
_ = myqueue(
queuehigh, handle_send_email_noinvoice,
rower.user.email,