Skip to content

Commit

Permalink
Fixed small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
confestim committed Nov 18, 2024
1 parent 7ca8a58 commit 76eeafc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
setup.py
.pypi
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
2 changes: 1 addition & 1 deletion temmies_cli/commands/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def parse_path(themis, path_str):
year_path, course_tag = parts[0], parts[1]
remaining_parts = parts[2:]

year = themis.get_year(year_path)
year = themis.get_year(int(year_path.split('-')[0]), int(year_path.split('-')[1]))
course = year.get_course_by_tag(course_tag)

if remaining_parts:
Expand Down

0 comments on commit 76eeafc

Please sign in to comment.