photofloat/scanner/main.py

13 lines
238 B
Python
Raw Normal View History

2011-05-06 00:43:25 +02:00
#!/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()