| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bf20839 commit edf9fc5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -132,12 +132,12 @@ def transform_kwargs(self, **kwargs): | |||
| 132 | 132 | if len(k) == 1: | |
| 133 | 133 | if v is True: | |
| 134 | 134 | args.append("-%s" % k) | |
| 135 | - else: | ||
| 135 | + elif type(v) is not bool: | ||
| 136 | 136 | args.append("-%s%s" % (k, v)) | |
| 137 | 137 | else: | |
| 138 | 138 | if v is True: | |
| 139 | 139 | args.append("--%s" % dashify(k)) | |
| 140 | - else: | ||
| 140 | + elif type(v) is not bool: | ||
| 141 | 141 | args.append("--%s=%s" % (dashify(k), v)) | |
| 142 | 142 | return args | |
| 143 | 143 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments