Skip to content

Commit 97963b7

Browse files
committed
fix indentation
1 parent dd92145 commit 97963b7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

jsk_fetch_robot/jsk_fetch_startup/scripts/time_signal.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ def speak_en(self):
7575
self.speak(self.client_en, speech_text)
7676

7777
def _get_text(self, hour):
78-
if hour == 0:
79-
text = 'midnight'
80-
elif hour == 12:
81-
text = 'noon'
82-
else:
83-
if hour > 12:
84-
text = str(hour % 12) + ' PM'
85-
else:
86-
text = str(hour % 12) + ' AM'
87-
text = "It's " + text + "."
88-
return text
78+
if hour == 0:
79+
text = 'midnight'
80+
elif hour == 12:
81+
text = 'noon'
82+
else:
83+
if hour > 12:
84+
text = str(hour % 12) + ' PM'
85+
else:
86+
text = str(hour % 12) + ' AM'
87+
text = "It's " + text + ""
88+
return text
8989

9090

9191
if __name__ == '__main__':

0 commit comments

Comments
 (0)