Library scanning work
I have continued work on library scanning.
This commit is contained in:
parent
dbc2d767d3
commit
efa680af19
|
@ -151,8 +151,12 @@ def scan(path):
|
|||
update()
|
||||
save()
|
||||
|
||||
def update_path(path):
|
||||
tree = libsaria.path.make_tree(path)
|
||||
print path, len(tree)
|
||||
|
||||
def update():
|
||||
global sources
|
||||
sep = libsaria.path.sep
|
||||
for path in sources.walk_paths():
|
||||
print path
|
||||
update_path(path)
|
||||
|
|
Loading…
Reference in New Issue