Skip to content

Commit 50a137e

Browse files
doc: meaningful tmp var name, while keeping the attribute's name simple
Co-authored-by: Christian Clauss <[email protected]>
1 parent 77a82cb commit 50a137e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sc2reader/objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ def __init__(self, uid, init_data):
291291
#: 2. The user has a None value for their 'scaled_rating' key, or
292292
#: 3. The user has a negative rating, often -36400.
293293
#: For ease of use, this property will return None in both cases.
294-
mmr = int(init_data.get("scaled_rating") or 0)
295-
self.mmr = mmr if mmr > 0 else None
294+
matchmaking_rating = int(init_data.get("scaled_rating") or 0)
295+
self.mmr = matchmaking_rating if matchmaking_rating > 0 else None
296296

297297
@property
298298
def url(self):

0 commit comments

Comments
 (0)