Skip to content

Commit fee34a4

Browse files
author
Julian Blank
committed
Load Remote Data Fix
1 parent b34b0b4 commit fee34a4

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pymoo/config.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ class Config:
2020

2121
@classmethod
2222
def data(cls):
23-
repo = "master"
24-
if 'rc' in __version__:
25-
repo = 'release'
26-
elif 'dev' in __version__:
27-
repo = 'develop'
28-
29-
return f"https://raw.githubusercontent.com/anyoptimization/pymoo/{repo}/pymoo/data/"
23+
return "http://release.pymoo.org/_static/data/"
24+
25+
# repo = "master"
26+
# if 'rc' in __version__:
27+
# repo = 'release'
28+
# elif 'dev' in __version__:
29+
# repo = 'develop'
30+
#
31+
# return f"https://raw.githubusercontent.com/anyoptimization/pymoo/{repo}/pymoo/data"
3032

3133

3234
# returns the directory to be used for imports

0 commit comments

Comments
 (0)