Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
arutar authored Nov 9, 2023
1 parent 1fe7bdb commit 79aabc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wininfparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def AddData(self,k,v=None,c=None,fraw=False):
self.__EmptyCount=0
if len(self.__KeyList) - 1 != len(self.__ValueList):
print("Warning the section [{}]: will be converted to key value type!".format(self.__Name))
self.__ValueList = ['' for i in range(len(self.__KeyList) - 1 - len(self.__ValueList))]
self.__ValueList += ['' for i in range(len(self.__KeyList) - 1 - len(self.__ValueList))]
self.__ValueList.append(v)

elif len(self.__ValueList) and v is None:
Expand Down

0 comments on commit 79aabc0

Please sign in to comment.