Skip to content

Commit

Permalink
fixes vimeo#62, basestring import str for Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Cabrera committed Jun 25, 2015
1 parent c547808 commit 4c1df02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vimeo/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
import io
import requests.exceptions

try:
basestring
except NameError:
basestring = str

class UploadVideoMixin(object):
"""Handle uploading a new video to the Vimeo API."""
Expand Down

0 comments on commit 4c1df02

Please sign in to comment.