fix: typo
Browse files- font_dataset/font.py +1 -1
font_dataset/font.py
CHANGED
@@ -65,6 +65,6 @@ def load_font_with_exclusion(
|
|
65 |
font_list.sort(key=lambda x: x.path)
|
66 |
print("font count: " + str(len(font_list)))
|
67 |
ret = {font_list[i].path: i for i in range(len(font_list))}
|
68 |
-
with open(
|
69 |
pickle.dump(ret, f)
|
70 |
return ret
|
|
|
65 |
font_list.sort(key=lambda x: x.path)
|
66 |
print("font count: " + str(len(font_list)))
|
67 |
ret = {font_list[i].path: i for i in range(len(font_list))}
|
68 |
+
with open(cache_path, "wb") as f:
|
69 |
pickle.dump(ret, f)
|
70 |
return ret
|