Ensure gitlab configuration exists before displaying it
offlate/ui/settings.py
154 | 154 | ||
155 | 155 | if not "Gitlab" in self.data: | |
156 | 156 | self.data["Gitlab"] = {} | |
157 | + | if not "servers" in self.data["Gitlab"]: | |
158 | + | self.data["Gitlab"]["servers"] = [] | |
157 | 159 | ||
158 | 160 | self.gitlabEdit = GitlabEdit() | |
159 | 161 | for server in self.data["Gitlab"]["servers"]: |