diff --git a/oauth1-python-3legged/complete.py b/oauth1-python-3legged/complete.py index b59a8d3..e5db0eb 100644 --- a/oauth1-python-3legged/complete.py +++ b/oauth1-python-3legged/complete.py @@ -22,7 +22,7 @@ def __getattr__(self, attr): ''' def main(): #create new smart cookie to extract request token - cookie = Cookie.SmartCookie() + cookie = Cookie.SimpleCookie() #if a cookie is available, load it if os.environ.has_key('HTTP_COOKIE'): @@ -83,4 +83,4 @@ def main(): sys.exit() if __name__ == '__main__': - main() \ No newline at end of file + main()