Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
fix special laps
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciaan committed Apr 29, 2015
1 parent c7c72d6 commit 3374c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Twitter/boxxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def lap(self, lap):
team.laps = lap["total"]
totalLaps = int(lap["id"])

if not lap["reason"] or len(lap["reason"]) > 0:
print("Special lap")
if lap["reason"] is not None and len(lap["reason"]) > 0:
print("Special lap: " + lap["reason"])
return

# check
Expand Down

0 comments on commit 3374c7a

Please sign in to comment.