canvas-download 1.1.2__tar.gz → 1.1.3__tar.gz

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.
@@ -1,3 +1,4 @@
1
+ **/__pycache__
1
2
  dist/
2
3
  login.json
3
4
  config.json
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: canvas-download
3
- Version: 1.1.2
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
@@ -9,7 +9,7 @@ dependencies = [
9
9
  "pywin32; platform_system == 'Windows'"
10
10
  ]
11
11
  name = "canvas-download"
12
- version = "1.1.2"
12
+ version = "1.1.3"
13
13
  authors = [
14
14
  {name="suncloudsmoon", email="farsaturn@outlook.com"}
15
15
  ]
@@ -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():