Skip to content

Commit

Permalink
[FIX] tests
Browse files Browse the repository at this point in the history
Signed-off-by: Luis Felipe Miléo <[email protected]>
  • Loading branch information
mileo committed Jul 16, 2024
1 parent 4f68793 commit 556b922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.5", "3.8", "3.10"]
python-version: ["3.8", "3.10"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion src/erpbrasil/edoc/pdf/danfe_formata.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def formata_dhRecbto(dhRecbto):
# FIXME em algum ponto o valor do campo esta sendo formatado para string
# deveria ter um tratamento caso o valor seja None deveria retornar a string
# vazia '' ao invés de retornar 'None'
if dhRecbto is 'None':
if dhRecbto == 'None':
return ''
else:
dhRecbto = str(dhRecbto)
Expand Down

0 comments on commit 556b922

Please sign in to comment.