Skip to content

Commit

Permalink
fix high limit for UINT64
Browse files Browse the repository at this point in the history
  • Loading branch information
clavay authored and trombastic committed Feb 13, 2024
1 parent 3c45c56 commit 49ac0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscada/models.py
Expand Up @@ -2665,7 +2665,7 @@ def __init__(self, *args, **kwargs):
or kwargs["value_int64"] > 9223372036854775807
):
raise ValueError(
f"Saving value to RecordedData for {kwargs['variable']} with value class {kwargs['variable'].value_class.upper()} should be in the interval [0:18446744073709551616], it is {kwargs['value_int64'] + 2**63}"
f"Saving value to RecordedData for {kwargs['variable']} with value class {kwargs['variable'].value_class.upper()} should be in the interval [0:18446744073709551615], it is {kwargs['value_int64'] + 2**63}"
)
elif kwargs["variable"].value_class.upper() in [
"INT64",
Expand Down

0 comments on commit 49ac0dd

Please sign in to comment.