fix: Se elimina Exception
This commit is contained in:
parent
60f1eca39a
commit
b23374955d
4
sale.py
4
sale.py
@ -359,11 +359,9 @@ class Sale(metaclass=PoolMeta):
|
||||
headers = {
|
||||
"accept": 'application/json',
|
||||
'Content-Type': 'application/json'}
|
||||
response = requests.post(url, data=json.dumps(content),
|
||||
requests.post(url, data=json.dumps(content),
|
||||
headers=headers)
|
||||
|
||||
raise Exception(response)
|
||||
|
||||
|
||||
class Line(metaclass=PoolMeta):
|
||||
"Sale Line Fast Food"
|
||||
|
Loading…
Reference in New Issue
Block a user