ocarina/src/core/library/scan.py

21 lines
390 B
Python

#! /usr/bin/python
# To change this template, choose Tools | Templates
# and open the template in the editor.
__author__="bjschuma"
__date__ ="$Dec 27, 2009 9:44:30 PM$"
from bt.file import *
def scan(dir):
write(dir)
#files = ls(dir)
#for file in files:
# path = join(dir,file)
# if checkDir(path)==True:
# self.scan(path)
# else:
# write(path,True)
# self.files += [path]