Add main function driver.
This commit is contained in:
parent
4e02abb7a3
commit
65b81f0747
13
main.py
Executable file
13
main.py
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from TreeWalker import TreeWalker
|
||||||
|
from sys import argv
|
||||||
|
|
||||||
|
def main():
|
||||||
|
if len(argv) != 3:
|
||||||
|
print "usage: %s ALBUM_PATH CACHE_PATH" % argv[0]
|
||||||
|
return
|
||||||
|
TreeWalker(argv[1], argv[2])
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
Loading…
Reference in New Issue
Block a user