|
|
|
@ -3222,7 +3222,8 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
|
|
|
|
|
re_resol = re.compile("^(\d+)x(\d+)$")
|
|
|
|
|
resol = re_resol.match(resol)
|
|
|
|
|
if not resol:
|
|
|
|
|
self.raiseErrTemplate(_("first parameter must be resolution"))
|
|
|
|
|
self.raiseErrTemplate(
|
|
|
|
|
_("the first parameter must be the resolution"))
|
|
|
|
|
|
|
|
|
|
re_resol = re.compile(".*?(\d+)x(\d+).*")
|
|
|
|
|
wpath = pathJoin(self._baseDir, wpath)
|
|
|
|
|