diff --git a/docassemble/ALToolbox/al_income.py b/docassemble/ALToolbox/al_income.py index 6aa3e2d6..6bef8d3e 100644 --- a/docassemble/ALToolbox/al_income.py +++ b/docassemble/ALToolbox/al_income.py @@ -701,13 +701,13 @@ def init(self, *pargs, **kwargs): if not hasattr(self, "source"): self.source = "vehicle" - def year_make_model(self) -> str: + def year_make_model(self, separator="/") -> str: """ Returns a string of the format year/make/model of the vehicle. Triggers gathering those attributes. """ - return f"{ self.year } / { self.make } / { self.model }" - + return separator.join([self.year, self.make, self.model]) + class ALVehicleList(ALAssetList): """List of ALVehicles. Extends ALAssetList."""