Piux24 commited on
Commit
6465d9a
·
verified ·
1 Parent(s): 5473ee2

Create Fix_lfs.py

Browse files
Files changed (1) hide show
  1. Fix_lfs.py +8 -0
Fix_lfs.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ if os.path.exists("Syllabus.pdf"):
4
+ print("Syllabus.pdf is already a normal file.")
5
+ else:
6
+ os.system("git lfs pull") # Ensure LFS file is downloaded
7
+ os.system("git lfs migrate export --include='Syllabus.pdf'") # Convert to normal file
8
+ print("Syllabus.pdf converted to normal file!")