Skip to content

Commit b2f78b5

Browse files
committed
Changed time format
1 parent 9c3036d commit b2f78b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Desktop-Voice-assistant/voice_assistant.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def mailSent(to, content):
116116
message=user_command()
117117
speak("At what time should I send?")
118118
speak("At what time? (24 hours system)")
119-
hr=input("Hours: ")
120-
mins=input("Minutes: ")
119+
hr=int(input("Hours: "))
120+
mins=int(input("Minutes: "))
121121
kit.sendwhatmsg(number,message,hr,mins)
122122
# this should be in the format ("+91xxxxxxxxxx","This is message", 15, 20)
123123

0 commit comments

Comments
 (0)