Skip to content

Commit

Permalink
fix #212
Browse files Browse the repository at this point in the history
  • Loading branch information
C0D3D3V committed Apr 16, 2024
1 parent 158f5f0 commit 250c34c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion moodle_dl/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,8 @@ def get_last_timestamp_per_mod_module(self) -> Dict[str, Dict[int, int]]:
)

course_row = cursor.fetchone()
mod_calendar_dict[course_row['module_id']] = course_row['content_timemodified']
if course_row is not None:
mod_calendar_dict[course_row['module_id']] = course_row['content_timemodified']

conn.close()

Expand Down
2 changes: 1 addition & 1 deletion moodle_dl/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.3.5'
__version__ = '2.3.6'

0 comments on commit 250c34c

Please sign in to comment.