Browse Source

Merge pull request #58 from gfuchedzhy/hyde

---

Currently using some of plugins like JPEGOptimPlugin with equal type command line argument (for example --max=80) raises exception:
AttributeError: str object has no attribute append
main
Lakshmi Vyas 13 years ago
parent
commit
61ac3bea6f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/plugin.py

+ 1
- 1
hyde/plugin.py View File

@@ -297,7 +297,7 @@ class CLTransformer(Plugin):
param = "%s%s" % (self.option_prefix(descriptive), param = "%s%s" % (self.option_prefix(descriptive),
descriptive) descriptive)
if descriptive.endswith("="): if descriptive.endswith("="):
param.append(val)
param += val
val = None val = None
params.append(param) params.append(param)
if val: if val:


Loading…
Cancel
Save