Skip to content

Commit e178fed

Browse files
committed
black format
1 parent 25cd689 commit e178fed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

twitchio/models.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,7 @@ def __init__(self, http: "TwitchHTTP", data: dict):
11001100
def __repr__(self):
11011101
return f"<Predictor user={self.user} channel_points_used={self.channel_points_used} channel_points_won={self.channel_points_won}>"
11021102

1103+
11031104
class PredictionOutcome:
11041105
"""
11051106
Represents a prediction outcome
@@ -1131,12 +1132,12 @@ def __init__(self, http: "TwitchHTTP", data: dict):
11311132
if data["top_predictors"]:
11321133
self.top_predictors: List[Predictor] = [Predictor(http, x) for x in data["top_predictors"]]
11331134
else:
1134-
1135+
11351136
self.top_predictors: List[Predictor] = None
1137+
11361138
def __repr__(self):
11371139
return f"<PredictionOutcome outcome_id={self.outcome_id} title={self.title} channel_points={self.channel_points} color={self.color} users={self.users}>"
11381140

1139-
11401141
@property
11411142
def colour(self) -> str:
11421143
"""The colour of the prediction. Alias to color."""

0 commit comments

Comments
 (0)