diff --git a/data/game.py b/data/game.py index f140614f..b09198bc 100644 --- a/data/game.py +++ b/data/game.py @@ -260,7 +260,7 @@ def current_pitcher_pitch_count(self): try: return self._data["liveData"]["boxscore"]["teams"]["away"]["players"][ID]["stats"]["pitching"]["numberOfPitches"] except: - return self._data["liveData"]["boxscore"]["teams"]["away"]["players"][ID]["stats"]["pitching"]["numberOfPitches"] + return self._data["liveData"]["boxscore"]["teams"]["home"]["players"][ID]["stats"]["pitching"]["numberOfPitches"] except: return 0 diff --git a/version.py b/version.py index 44c74fad..ac7bd23d 100644 --- a/version.py +++ b/version.py @@ -1,5 +1,5 @@ SCRIPT_NAME = "MLB LED Scoreboard" -SCRIPT_VERSION = "6.1.1" +SCRIPT_VERSION = "6.1.2" if __name__ == "__main__":