Skip to content

Commit

Permalink
Fix for code warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dgunning committed Aug 15, 2024
1 parent adf08d9 commit 83dc3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edgar/xbrl/concepts.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def values(self):
@field_validator('decimals')
@classmethod
def validate_decimals(cls, v: Optional[Union[int, str]]) -> Optional[Union[int, str]]:
if v is None or v is '' or v == 'INF':
if v is None or v == '' or v == 'INF':
return v
try:
return int(v)
Expand Down

0 comments on commit 83dc3b2

Please sign in to comment.