Skip to content

Commit

Permalink
#126 spelling fix
Browse files Browse the repository at this point in the history
fixed spelling error in swiML
  • Loading branch information
calloc262 committed Jul 18, 2024
1 parent ad6ebbf commit 08c27c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythonXMLtest/swiML.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 08c27c4

Please sign in to comment.