Correctly specify args passed to dsda-doom -assign.
This commit is contained in:
parent
28cc0e7cb0
commit
9bc41264e5
1 changed files with 3 additions and 5 deletions
|
|
@ -62,11 +62,9 @@ class Wad(doomcc.config.Base):
|
||||||
return self._config.get("options", {})
|
return self._config.get("options", {})
|
||||||
|
|
||||||
def options(self):
|
def options(self):
|
||||||
options = []
|
options_dict = self.options_dict()
|
||||||
for k, v in self.options_dict().items():
|
if len(options_dict) > 0:
|
||||||
list.append(options, f"{k}={v}")
|
return ["-assign"] + [f"{k}={v}" for k, v in options_dict.items()]
|
||||||
if len(options) > 0:
|
|
||||||
return ["-assign", ",".join(options)]
|
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def thumb_overlay_path(self):
|
def thumb_overlay_path(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue