Skip to content

Commit

Permalink
Oops, don't hard code my perceived effort run as the next workout. :P
Browse files Browse the repository at this point in the history
  • Loading branch information
gazpachoking committed Oct 30, 2020
1 parent ba42c13 commit 23dea9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "trainaspower"
version = "0.2.0"
version = "0.2.1"
description = "Convert TrainAsOne plans to power and upload to Final Surge for use with Stryd pod."
authors = ["Chase Sterling <[email protected]>"]
license = "MIT"
Expand Down
1 change: 0 additions & 1 deletion trainaspower/trainasone.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def get_next_workout() -> models.Workout:
raise Exception("Next tao workout not found.")
date = dateparser.parse(day.find(".title", first=True).text)
workout_url = day.find(".summary>b>a", first=True).absolute_links.pop()
workout_url = "https://beta.trainasone.com/plannedWorkout?targetUserId=016e89c82ff200004aa88d95b508101c&workoutId=01750a590f4300004aa88d95b5080c35"
workout_html = tao_session.get(workout_url).html
steps = workout_html.find(".workoutSteps>ol>li")
w = models.Workout()
Expand Down

0 comments on commit 23dea9c

Please sign in to comment.