You must convert the text version of the date back to a datetime.datetime object.
Use the datetime.datetime.strptime(date_string, format) method 2009/3/24 thebrianschott <[email protected]>: > [snip] > > next_url = '/update_datastore?date=%s' % urllib.quote(next_date) > res = map(safe_map.__getitem__, s) > TypeError: argument 2 to map() must support iteration > > http://dpaste.com/18238/ > > Can somebody show me what is wrong with my code, please? > > Brian in Atlanta --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
