mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-01 22:11:25 +00:00
Notice print conditin fixed (#2633)
This commit is contained in:
@@ -26,7 +26,7 @@ try:
|
||||
|
||||
# print version warning if necessary
|
||||
notice = notices.notices.get(__version__)
|
||||
if notice is not None:
|
||||
if notice:
|
||||
print(notice, file=sys.stderr)
|
||||
|
||||
except Exception: # nosec
|
||||
|
Reference in New Issue
Block a user