Skip to content

Commit

Permalink
Now use for .
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-bnr committed Mar 5, 2018
1 parent 6d4bcaf commit ae9554a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdrivefs/auto_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import webbrowser
import time
import urlparse
import io

import SocketServer
import BaseHTTPServer
import cStringIO

import gdrivefs.oauth_authorize
import gdrivefs.conf
Expand All @@ -16,7 +16,7 @@

class _HTTPRequest(BaseHTTPServer.BaseHTTPRequestHandler):
def __init__(self, request_text):
self.rfile = cStringIO.StringIO(request_text)
self.rfile = io.StringIO(unicode(request_text))
self.raw_requestline = self.rfile.readline()
self.error_code = self.error_message = None
self.parse_request()
Expand Down

0 comments on commit ae9554a

Please sign in to comment.