Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

support any kind of string here

  • Loading branch information...
commit 4e7774c32ff25c69a0d6ad0a18cf9329d95efb44 1 parent 151ffcd
Ray Slakinski rays authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  hiiguid/__init__.py
2  hiiguid/__init__.py
@@ -26,7 +26,7 @@ def __new__(cls, value=time.time()):
26 26 UUID4 integer. In the event of a string it attempts to decode a
27 27 packed struct string or base36 string.
28 28 """
29   - if isinstance(value, str):
  29 + if isinstance(value, basestring):
30 30 if len(value) == 20:
31 31 value = _unpack(value)
32 32 else:

0 comments on commit 4e7774c

Please sign in to comment.
Something went wrong with that request. Please try again.