From b5b2e1862e61b8964f423af58cb4bb05eaa3d637 Mon Sep 17 00:00:00 2001 From: Nanda Scott Date: Fri, 16 Feb 2018 19:31:08 -0500 Subject: [PATCH] Fixed minor errors. --- scrython/sets/sets.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scrython/sets/sets.py b/scrython/sets/sets.py index 7317e31..e929e4a 100644 --- a/scrython/sets/sets.py +++ b/scrython/sets/sets.py @@ -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\'')