Skip to content

Commit

Permalink
removed [0] as suggested by CQ
Browse files Browse the repository at this point in the history
  • Loading branch information
romangrothausmann committed Dec 21, 2017
1 parent 3b309cc commit e40d101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvsm-multi.py
Expand Up @@ -53,7 +53,7 @@ def main():
for repr in newreprs: # list of newly added objects
d = {}
for props in repr.ListProperties():
d[props] = pvs.GetProperty(repr, props[0]) # values of property
d[props] = pvs.GetProperty(repr, props) # values of property
reppro.append(d) # dict of object properties

oldreprs = reprs # save current list, to exclude after next load of state file (as these will be reset)
Expand Down

0 comments on commit e40d101

Please sign in to comment.