Skip to content

Commit 2183ca5

Browse files
Merge branch 'visuallizer_fix' of github.com:flow-project/flow into visuallizer_fix
2 parents 2b840b3 + 5628c29 commit 2183ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/utils/rllib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def get_rllib_config(path):
209209

210210
def get_rllib_pkl(path):
211211
"""Return the data from the specified rllib configuration file."""
212-
dirname = os.getcwd()
212+
dirname = os.path.dirname(__file__)
213213
filename = os.path.join(dirname, '../../examples/')
214214
sys.path.append(filename)
215215
config_path = os.path.join(path, "params.pkl")

0 commit comments

Comments
 (0)