Skip to content

Commit e401b5a

Browse files
author
David Osorio
committed
chore: remove print
1 parent 378c876 commit e401b5a

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

redocmx/cfdi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ def to_pdf(self, payload={}):
3131

3232
if self.addenda:
3333
addenda_content = self.addenda.get_file_content(self.addenda_replace_values)
34-
print(addenda_content)
3534
payload['addenda'] = addenda_content
3635

3736
payload['format'] = 'pdf'
3837

39-
result = self.service.cfdis_convert(file["content"], payload)
38+
result = self.service.cfdis_convert(file['content'], payload)
4039
self.pdf = Pdf(result)
4140

4241
return self.pdf

redocmx/file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ def from_string(self, file_content):
1515

1616
def get_file(self):
1717
if self.file_content:
18-
return {'content': self.file_content }
18+
return { 'content': self.file_content }
1919

2020
elif self.file_path:
2121
path = Path(self.file_path)
2222
if not path.exists() or not path.is_file():
2323
raise FileNotFoundError(f"Failed to read XML content from file: {self.file_path}. The file does not exist.")
2424

2525
self.file_content = path.read_text()
26-
return {'content': self.file_content }
26+
return { 'content': self.file_content }
2727
else:
2828
raise ValueError(f"Failed to load file {self.__class__.__name__}, you must use from_file or from_string.")
2929

0 commit comments

Comments
 (0)