Skip to content

Commit

Permalink
netbox-community#702: Fix lingering Unicode incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Nov 29, 2016
1 parent 8f66b31 commit 114ad46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/extras/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class Meta:
unique_together = ['field', 'obj_type', 'obj_id']

def __unicode__(self):
return '{} {}'.format(self.obj, self.field)
return u'{} {}'.format(self.obj, self.field)

@property
def value(self):
Expand Down

0 comments on commit 114ad46

Please sign in to comment.