Skip to content

Commit

Permalink
Save tag list in TagList
Browse files Browse the repository at this point in the history
Pylogix has had the variable TagList for a long time, but it was
never actually being updated with the tag list.  Saving it allows
you to access it later if you didn't save the list yourself in
your script.
  • Loading branch information
dmroeder committed Apr 21, 2021
1 parent 3a35c55 commit ab191e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
04/21/21
- Save tag list in TagList

03/05/21
- Fixed crashing when reading/writing and connection is lost

Expand Down
2 changes: 1 addition & 1 deletion pylogix/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .eip import PLC
__version_info__ = (0, 7, 10)
__version_info__ = (0, 7, 11)
__version__ = '.'.join(str(x) for x in __version_info__)
1 change: 1 addition & 0 deletions pylogix/eip.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ def _getTagList(self, allTags):
else:
return Response(None, None, status)

self.TagList = tags
return Response(None, tags, status)

def _getProgramTagList(self, programName):
Expand Down

0 comments on commit ab191e5

Please sign in to comment.