You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: multiagent/__init__.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
importos
1
2
importwarnings
2
3
3
4
fromgym.envs.registrationimportregister
@@ -26,4 +27,6 @@
26
27
"support for installation via pip, and numerous other large quality of life improvements. \nWe "
27
28
"encourage researchers to switch to this maintained version for all purposes other than comparing "
28
29
"to results run on this version of the environments. \n")
29
-
input("Please read the raised warning, then press Enter to continue...\n")
30
+
31
+
ifos.getenv('SUPPRESS_MA_PROMPT') !='1':
32
+
input("Please read the raised warning, then press Enter to continue... (to suppress this prompt, please set the environment variable `SUPPRESS_MA_PROMPT=1`)\n")
0 commit comments