Changeset 1040:1c0a2408634b for src
- Timestamp:
- 03/14/22 14:46:13 (3 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/config.py
r1011 r1040 211 211 class Config(object): 212 212 """Our configuration.""" 213 DEFAULT_UPDATE_URL = "https://mlx.varadiistvan.hu/update "213 DEFAULT_UPDATE_URL = "https://mlx.varadiistvan.hu/update/new" 214 214 215 215 _messageTypesSection = "messageTypes" … … 256 256 self._autoUpdate = True 257 257 self._updateURL = Config.DEFAULT_UPDATE_URL 258 if secondaryInstallation:259 self._updateURL += "/exp"258 #if secondaryInstallation: 259 # self._updateURL += "/exp" 260 260 self._updateURLUpdated = True 261 261 self._useRPC = True … … 788 788 789 789 self._autoUpdate = self._getBoolean(config, "update", "auto", True) 790 self._updateURL = self._get(config, "update", "url",791 Config.DEFAULT_UPDATE_URL +792 ("/exp" if secondaryInstallation else ""))793 790 self._updateURLUpdated = self._getBoolean(config, "update", 794 791 "urlUpdated", False) 792 if self._updateURLUpdated: 793 self._updateURL = self._get(config, "update", "url", 794 Config.DEFAULT_UPDATE_URL) # + 795 #("/exp" if secondaryInstallation else "")) 795 796 if self._updateURL.startswith("http://") and not self._updateURLUpdated: 796 797 self._updateURL = "https://" + self._updateURL[7:]
Note:
See TracChangeset
for help on using the changeset viewer.