Fixed minor errors.
This commit is contained in:
parent
e9309ef5f1
commit
b5b2e1862e
|
@ -1,7 +1,7 @@
|
|||
from .sets_object import SetsObject
|
||||
|
||||
class Sets(SetsObject):
|
||||
def __init__(self, arg):
|
||||
def __init__(self):
|
||||
self._url = 'sets?'
|
||||
super(Sets, self).__init__(self._url)
|
||||
|
||||
|
@ -128,9 +128,6 @@ class Sets(SetsObject):
|
|||
#The following attributes are only to override the inherited class attributes.
|
||||
#This class has no matching attributes but we still need the getRequest from SetsObject
|
||||
|
||||
def object(self):
|
||||
raise AttributeError('This object has no key \'object\'')
|
||||
|
||||
def code(self):
|
||||
raise AttributeError('This object has no key \'code\'')
|
||||
|
||||
|
|
Loading…
Reference in New Issue