From 08c27c4bdb08acafa7bbd25fc6b9458ceed09077 Mon Sep 17 00:00:00 2001 From: calloc262 <119980100+calloc262@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:55:33 +1200 Subject: [PATCH] #126 spelling fix fixed spelling error in swiML --- pythonXMLtest/swiML.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonXMLtest/swiML.py b/pythonXMLtest/swiML.py index c15e2278..ca5e4ae3 100644 --- a/pythonXMLtest/swiML.py +++ b/pythonXMLtest/swiML.py @@ -126,7 +126,7 @@ def classToXML(self,root=None): if type(self).__name__.lower() == 'program': if self.swiMLVersion == 'latest': schemaLocation = f'https://github.com/bartneck/swiML/version/latest https://raw.githubusercontent.com/bartneck/swiML/main/version/latest/swiML.xsd' - elif self.swMLVersion == 'main': + elif self.swiMLVersion == 'main': schemaLocation = f'https://github.com/bartneck/swiML https://raw.githubusercontent.com/bartneck/swiML/main/swiML.xsd' else: schemaLocation = f'https://github.com/bartneck/swiML/version/{str(self.swiMLVersion).split(".")[0]}/{self.swiMLVersion} https://raw.githubusercontent.com/bartneck/swiML/main/version/{str(self.swiMLVersion).split(".")[0]}/{self.swiMLVersion}/swiML.xsd'