Skip to content

Commit a644cfe

Browse files
committed
fix: line too long in create_declaration.py
1 parent 98f71c7 commit a644cfe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/create_declaration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def main():
4343
invoice_ids = [inv.id for inv in invoices]
4444
try:
4545
client.create_decl(invoice_ids, year=year, month=month)
46-
print(f'Declaration created — {len(invoice_ids)} invoice(s) attached to {year}/{month:02d}')
46+
count = len(invoice_ids)
47+
print(f'Declaration created — {count} invoice(s) attached to {year}/{month:02d}')
4748
except RSGeAPIError as exc:
4849
print(f'Note: create_decl() not available on sandbox: {exc}')
4950

0 commit comments

Comments
 (0)