mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:39:02 +08:00
Fix version if version is None
Contributes to CURA-9365
This commit is contained in:
parent
593ba0ec36
commit
82904ccd3f
@ -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…
x
Reference in New Issue
Block a user