Skip to content

Commit

Permalink
Check for changed settings as strings - accounts for 'True' vs True
Browse files Browse the repository at this point in the history
  • Loading branch information
hilary-luo committed Mar 21, 2024
1 parent e20639d commit 2426bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turtlebot4_setup/turtlebot4_setup
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Turtlebot4Setup():
if self.conf.get(option) == '' and self.initial_conf.get(option) == None or \
self.conf.get(option) == None and self.initial_conf.get(option) == '':
pass
elif (self.conf.get(option) != self.initial_conf.get(option)):
elif (str(self.conf.get(option)) != str(self.initial_conf.get(option))):
diff.append(option)

return diff
Expand Down

0 comments on commit 2426bac

Please sign in to comment.