canvas-download 1.1.1__py3-none-any.whl → 1.1.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ def main():
31
31
  contents = json.dumps({"API_URL": "", "API_KEY": ""}, indent=4)
32
32
  login_path.write_text(contents, encoding="utf-8")
33
33
  print(
34
- f"Fill out the details of your canvas login credentials at {login_path} and relaunch this application to continue. Note: '.config' directory is hidden."
34
+ f"Fill out the details of your canvas login credentials at '{login_path}' and relaunch this application to continue. Note: '.config' directory is hidden."
35
35
  )
36
36
  return
37
37
 
@@ -52,7 +52,7 @@ def main():
52
52
 
53
53
  courses_path = config_dir / "courses.json"
54
54
  names_courses = {
55
- re.search(r"\w\S+-\S+\w", course.name).group(0).replace("-", " "): course
55
+ get_valid_filename(course.name).replace("-", " "): course
56
56
  for course in current_courses
57
57
  }
58
58
  if not courses_path.exists():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: canvas-download
3
- Version: 1.1.1
3
+ Version: 1.1.3
4
4
  Summary: Downloads Canvas modules/files into a local directory.
5
5
  Project-URL: Homepage, https://github.com/suncloudsmoon/canvas-download
6
6
  Project-URL: Issues, https://github.com/suncloudsmoon/canvas-download/issues
@@ -0,0 +1,7 @@
1
+ canvas_download/__init__.py,sha256=UYMprX3e0pTWVOXVUNEa0no_Fp0T4sLV5hVQ-LTtm-A,33
2
+ canvas_download/canvas_download.py,sha256=cs0aGsyl6wFPn8R2VfUsmN39L4W5HDxRe7F3qBcSKdY,3903
3
+ canvas_download-1.1.3.dist-info/METADATA,sha256=MWEtcsMjdsa6L1JeBriarCJocqSZ9tz6RL1j9nTrcwQ,1979
4
+ canvas_download-1.1.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
5
+ canvas_download-1.1.3.dist-info/entry_points.txt,sha256=BxAmz6cqp2vls7uVmWnkbq1Dek5VrXqLE3vSU9Ozu1M,57
6
+ canvas_download-1.1.3.dist-info/licenses/LICENSE.txt,sha256=5chfP2IKlCssxQ6-2ISz9dbWt-d33GN5K1eS9SAUdto,1069
7
+ canvas_download-1.1.3.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- canvas_download/__init__.py,sha256=UYMprX3e0pTWVOXVUNEa0no_Fp0T4sLV5hVQ-LTtm-A,33
2
- canvas_download/canvas_download.py,sha256=-yMVr4O0jRP9V-UTaRJTbQ8hX2-_PWILjm7WVdXeOiE,3917
3
- canvas_download-1.1.1.dist-info/METADATA,sha256=ys8Xr00SQL3Iow_cQ94bgLNfDf9DolxPx6A-BUgYUTw,1979
4
- canvas_download-1.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
5
- canvas_download-1.1.1.dist-info/entry_points.txt,sha256=BxAmz6cqp2vls7uVmWnkbq1Dek5VrXqLE3vSU9Ozu1M,57
6
- canvas_download-1.1.1.dist-info/licenses/LICENSE.txt,sha256=5chfP2IKlCssxQ6-2ISz9dbWt-d33GN5K1eS9SAUdto,1069
7
- canvas_download-1.1.1.dist-info/RECORD,,