Skip to content

Commit cb1622d

Browse files
author
Greg Bulmash
authored
Changed smart quotes to straight quotes
HasBirthdayLaunchRequestHandler had "smart" single quotes around year, month, and day, causing code to break.
1 parent 14c0fc4 commit cb1622d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎module-3/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ class HasBirthdayLaunchRequestHandler(AbstractRequestHandler):
194194

195195
def handle(self, handler_input):
196196
attr = handler_input.attributes_manager.persistent_attributes
197-
year = attr[‘year’]
198-
month = attr[‘month’] # month is a string, and we need to convert it to a month index later
199-
day = attr[‘day’]
197+
year = attr['year']
198+
month = attr['month'] # month is a string, and we need to convert it to a month index later
199+
day = attr['day']
200200

201201
# TODO:: Use the settings API to get current date and then compute how many days until user’s bday
202202
# TODO:: Say happy birthday on the user’s birthday
@@ -295,4 +295,4 @@ If your skill isn’t working or you’re getting some kind of syntax error, dow
295295

296296
[Python Github Code Sample, Module 3: Add Memory to Your Skill](https://github.com/alexa/skill-sample-python-first-skill/tree/master/module-3)
297297

298-
[Continue to module 4](https://github.com/alexa/skill-sample-python-first-skill/tree/master/module-4)
298+
[Continue to module 4](https://github.com/alexa/skill-sample-python-first-skill/tree/master/module-4)

0 commit comments

Comments
 (0)