mirror of https://github.com/dirtbags/moth.git
We now make mothballs
This commit is contained in:
parent
433454b9bb
commit
138a5977dd
|
@ -98,7 +98,7 @@ def build_category(categorydir, outdir):
|
||||||
|
|
||||||
categoryname = os.path.basename(categorydir.strip(os.sep))
|
categoryname = os.path.basename(categorydir.strip(os.sep))
|
||||||
seedfn = os.path.join("category_seed.txt")
|
seedfn = os.path.join("category_seed.txt")
|
||||||
zipfilename = os.path.join(outdir, "%s.zip" % categoryname)
|
zipfilename = os.path.join(outdir, "%s.mb" % categoryname)
|
||||||
logging.info("Building {} from {}".format(zipfilename, categorydir))
|
logging.info("Building {} from {}".format(zipfilename, categorydir))
|
||||||
|
|
||||||
if os.path.exists(zipfilename):
|
if os.path.exists(zipfilename):
|
||||||
|
|
Loading…
Reference in New Issue