Skip to content

Commit

Permalink
Fix #623
Browse files Browse the repository at this point in the history
  • Loading branch information
failys committed May 1, 2021
1 parent b7b23a0 commit ac9c142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cairis/data/ObstacleDAO.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def add_object(self, obstacle):
obsParams = ObstacleParameters(obsName=obstacle.theName,obsOrig=obstacle.theOriginator,tags=obstacle.theTags,properties=obstacle.theEnvironmentProperties)

if not self.check_existing_obstacle(obstacle.theName):
obstacle_id = self.db_proxy.addObstacle(obsParams)
self.db_proxy.addObstacle(obsParams)
else:
self.close()
raise OverwriteNotAllowedHTTPError('The provided obstacle name')
Expand Down

0 comments on commit ac9c142

Please sign in to comment.