Change argument user for stamp
This commit is contained in:
parent
a641024a86
commit
3f0daec6ad
|
@ -577,10 +577,7 @@ def xml_stamp(xml, auth, name):
|
|||
return result
|
||||
|
||||
result = {'ok': True, 'error': ''}
|
||||
if name == 'comercio':
|
||||
auth = {'user': auth['RFC'], 'pass': auth['PASS']}
|
||||
else:
|
||||
auth = {'user': auth['USER'], 'pass': auth['PASS']}
|
||||
auth = {'user': auth['USER'], 'pass': auth['PASS']}
|
||||
|
||||
pac = PACS[name]()
|
||||
xml_stamped = pac.stamp(xml, auth)
|
||||
|
|
Loading…
Reference in New Issue