working on correct path joining with os

master
polymurph 2 years ago
parent b766e50abe
commit 3291ccd8bc

@ -21,7 +21,7 @@ class bcolors:
def getTargetDeviceList():
os.chdir(os.getcwd() + '\\csl')
os.chdir(os.path.join(os.getcwd(), 'csl'))
# get top level folder names in csl which represent all available target devices
return next(os.walk('.'))[1]

Loading…
Cancel
Save