🐛 fix(SettingManager.py): change authors value to a list to match the expected format
The authors value was previously a string with multiple authors separated by a comma. The value has been changed to a list of strings to match the expected format.
This commit is contained in:
parent
fc525a0878
commit
538d339b6a
@ -27,7 +27,7 @@ class SettingManager:
|
||||
self.settings = load(f.read(), Loader=Loader)
|
||||
if self.settings['version'] != self.version:
|
||||
self.settings['version'] = self.version
|
||||
self.save()
|
||||
self.save()
|
||||
except FileNotFoundError:
|
||||
self.settings = {}
|
||||
self.createInitialSettings()
|
||||
@ -54,7 +54,7 @@ class SettingManager:
|
||||
def createInitialSettings(self):
|
||||
self.settings['version'] = self.version
|
||||
self.settings['name'] = 'Analyse Morphologique'
|
||||
self.settings['authors'] = 'Alexis Doghmane <alexis@doghmane.fr>, Djalim Simaila <djalim.simaila@inrae.fr>'
|
||||
self.settings['authors'] = ['Alexis Doghmane <alexis@doghmane.fr>', 'Djalim Simaila <djalim.simaila@inrae.fr>']
|
||||
self.settings['description'] = 'Analyse Morphologique'
|
||||
self.settings['repo'] = 'https://forgemia.inra.fr/scanner3d/analysemorphologique'
|
||||
self.settings['lastGraph'] = ["Aucun" for i in range(11)]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user