X-Git-Url: https://git.jsancho.org/?p=mojodb.git;a=blobdiff_plain;f=database.py;fp=database.py;h=ad1e1297050326cd6131313032d1874d08940dbe;hp=1b378bf468c60cb0d7645261e57ce2c2ee467a22;hb=aed397c34f0bcc9eeb12e42256cc47e79e049971;hpb=4a34db8a057d135225e70ede89b767e89f827c8f diff --git a/database.py b/database.py index 1b378bf..ad1e129 100644 --- a/database.py +++ b/database.py @@ -24,7 +24,7 @@ from collection import Collection class Database(object): def __init__(self, connection, db_name): self.connection = connection - self.db_name = unicode(db_name) + self.db_name = str(db_name) def __getattr__(self, table_name): return Collection(self, table_name)