Changeset 1045:110ed385e042


Ignore:
Timestamp:
04/04/22 14:04:11 (8 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Some update URLs are changed automatically to the current one (re #357)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/config.py

    r1044 r1045  
    781781                                        Config.DEFAULT_UPDATE_URL) # +
    782782                                        #("/exp" if secondaryInstallation else ""))
     783
     784        if self._updateURL.find("update/new")>0 or \
     785           self._updateURL.find("update/py3")>0:
     786            self._updateURL = "https://mlx.varadiistvan.hu/update"
     787            self._updateURLUpdated = False
    783788        if self._updateURL.startswith("http://") and not self._updateURLUpdated:
    784789            self._updateURL = "https://" + self._updateURL[7:]
Note: See TracChangeset for help on using the changeset viewer.