Skip to content

Commit

Permalink
The Size should return the slug name when used as string.
Browse files Browse the repository at this point in the history
  • Loading branch information
koalalorenzo committed Aug 16, 2014
1 parent 7ca98cd commit 9503122
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion digitalocean/Size.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ def __init__(self, *args, **kwargs):
self.price_hourly = None
self.regions = []

super(Size, self).__init__(*args, **kwargs)
super(Size, self).__init__(*args, **kwargs)

def __str__(self):
return "%s" % (self.slug)

0 comments on commit 9503122

Please sign in to comment.