mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Fix version if version is None
Contributes to CURA-9365
This commit is contained in:
parent
593ba0ec36
commit
82904ccd3f
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class CuraConan(ConanFile):
|
|||
with open(Path(__file__).parent.joinpath("Ultimaker-Cura.spec.jinja"), "r") as f:
|
||||
pyinstaller = Template(f.read())
|
||||
|
||||
cura_version = tools.Version(self.version)
|
||||
cura_version = tools.Version(self.version) if self.version else tools.Version("0.0.0")
|
||||
|
||||
with open(Path(location, "Ultimaker-Cura.spec"), "w") as f:
|
||||
f.write(pyinstaller.render(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue