Browse Source

removed erroneous file write

refactoring
sp 11 months ago
parent
commit
521c71eba4
  1. 1
      examples/shields/rl/utils.py

1
examples/shields/rl/utils.py

@ -55,7 +55,6 @@ class MiniGridShieldHandler(ShieldHandler):
assert result == 0, "Prism file could not be generated" assert result == 0, "Prism file could not be generated"
f = open(self.prism_path, "a") f = open(self.prism_path, "a")
f.write("label \"AgentIsInLava\" = AgentIsInLava;")
f.close() f.close()
def __create_shield_dict(self): def __create_shield_dict(self):

Loading…
Cancel
Save