Skip to content

Commit aa9ce14

Browse files
committed
Path fixes
1 parent 8ace03a commit aa9ce14

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

buildAll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
def getFontPaths(path):
3232
fontsList = []
33-
for r, folders, files in os.walk(path):
33+
for r, folders, files in os.walk(os.path.realpath(path)):
3434
fileAndFolderList = folders[:]
3535
fileAndFolderList.extend(files)
3636

hintAll.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22

33
import os
44
import sys
@@ -30,7 +30,7 @@
3030

3131
def getFontPaths(path):
3232
fontsList = []
33-
for r, folders, files in os.walk(path):
33+
for r, folders, files in os.walk(os.path.realpath(path)):
3434
fileAndFolderList = folders[:]
3535
fileAndFolderList.extend(files)
3636

0 commit comments

Comments
 (0)