Skip to content

Commit

Permalink
Fixed #138
Browse files Browse the repository at this point in the history
  • Loading branch information
manusimidt committed Jul 6, 2024
1 parent ff9f1d9 commit bb0ef39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions xbrl/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
"http://fasb.org/srt/2021-01-31": "http://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
"http://fasb.org/srt/2022": "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
"http://fasb.org/srt/2023": "https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd",
"http://fasb.org/srt/2024": "https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd",
"http://fasb.org/srt-roles/2018-01-31": "http://xbrl.fasb.org/srt/2018/elts/srt-roles-2018-01-31.xsd",
"http://fasb.org/srt-roles/2019-01-31": "http://xbrl.fasb.org/srt/2019/elts/srt-roles-2019-01-31.xsd",
"http://fasb.org/srt-roles/2020-01-31": "http://xbrl.fasb.org/srt/2020/elts/srt-roles-2020-01-31.xsd",
Expand Down
2 changes: 1 addition & 1 deletion xbrl/transformations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def durWordSen(arg: str) -> str:


def numWordSen(arg: str) -> str:
if arg == 'no' or arg == 'none':
if arg == 'no' or arg == 'none' or arg == 'nil':
return '0'
else:
arg = arg.replace(' and ', ' ')
Expand Down

0 comments on commit bb0ef39

Please sign in to comment.