Change argument user for stamp

This commit is contained in:
Mauricio Baeza 2020-01-22 13:21:53 -06:00
parent a641024a86
commit 3f0daec6ad
1 changed files with 1 additions and 4 deletions

View File

@ -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)