Skip to content

Commit 8c6b345

Browse files
committed
update comments
1 parent 47d02ab commit 8c6b345

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sharedMemoryAPI.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def data_verified(value):
124124
return value.mVersionUpdateEnd == value.mVersionUpdateBegin
125125

126126
def __infoUpdate(self):
127-
""" Update index number """
127+
""" Update shared memory data """
128128
while self.data_updating:
129129
data_scor = copy.deepcopy(self.Rf2Scor)
130130
if self.data_verified(data_scor):
@@ -142,7 +142,7 @@ def __infoUpdate(self):
142142
print("sharedmemory updating stopped")
143143

144144
def startUpdating(self):
145-
""" Start player index update thread """
145+
""" Start data updating thread """
146146
self.data_updating = True
147147
index_thread = threading.Thread(target=self.__infoUpdate)
148148
index_thread.setDaemon(True)
@@ -238,7 +238,7 @@ def vehicleName(self):
238238
self.Rf2Scor.mVehicles[self.players_index].mVehicleName)
239239

240240
def closeSimInfo(self):
241-
# Stop index checking thread
241+
# Stop data updating thread
242242
self.data_updating = False
243243
time.sleep(0.2)
244244
# This didn't help with the errors

0 commit comments

Comments
 (0)