Skip to content

Commit

Permalink
format files
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn committed Jun 24, 2024
1 parent a5de312 commit 0448f1d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyLSV2/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def versions(self) -> ld.VersionInfo:
"""version information of the connected control"""
return self._versions

@property
@property
def parameters(self) -> ld.SystemParameters:
"""system parameters of the connected control"""
return self._sys_par
Expand Down
1 change: 1 addition & 0 deletions pyLSV2/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class ControlType(Enum):
MILLPLUS = 6
"""the MILLPlusIT V600 is officially"""


class Login(str, Enum):
"""Enum for the different login roles"""

Expand Down
1 change: 0 additions & 1 deletion pyLSV2/dat_cls.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def __init__(self):

self._ncsw_reg = re.compile(r"(?P<base>\d{5})(?P<type>\d)(?:[ -])(?P<version>\d+)(?: (?P<sp>.*))?")


def __str__(self) -> str:
return "%s / %s" % (self.control, self.nc_sw)

Expand Down
2 changes: 1 addition & 1 deletion pyLSV2/scripts/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def comprehensive_demo():
if con.versions.nc_sw_type == 4:
print("# Reading time and date on a windows programming station is not supported")
elif con.versions.nc_sw_base == 538950:
print("# Reading time and date on a windows MILLplusIT programming station is not supported")
print("# Reading time and date on a windows MILLplusIT programming station is not supported")
else:
print("# Time and date: {:}".format(con.get_remote_datetime()))

Expand Down

0 comments on commit 0448f1d

Please sign in to comment.