use the name from [dir] rather than campaign_name=...
...which might be different from lowercasing
This commit is contained in:
parent
d3eb058d99
commit
c0b1df98c2
2 changed files with 2 additions and 1 deletions
|
@ -458,5 +458,6 @@ class CampaignClient:
|
|||
if verbose:
|
||||
sys.stderr.write(i * " " + name + "\n")
|
||||
self.unpackdir(dir, os.path.join(path, name), i + 2, verbose)
|
||||
return name
|
||||
|
||||
# vim: tabstop=4: shiftwidth=4: expandtab: softtabstop=4: autoindent:
|
||||
|
|
|
@ -120,7 +120,7 @@ if __name__ == "__main__":
|
|||
else:
|
||||
decoded = cs.decode(mythread.data)
|
||||
print "Unpacking %s..." % name
|
||||
cs.unpackdir(decoded, cdir, verbose = options.verbose)
|
||||
name = cs.unpackdir(decoded, cdir, verbose = options.verbose)
|
||||
dirname = os.path.join(cdir, name)
|
||||
info = os.path.join(dirname, "_info.cfg")
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue