Changed set attribute to prevent some confusion from python.
This commit is contained in:
parent
4bc6867f60
commit
05d398e7fb
|
@ -152,7 +152,7 @@ class ScryfallObject(object):
|
|||
|
||||
return self.scryfallJson['reprint']
|
||||
|
||||
def set(self):
|
||||
def set_code(self):
|
||||
if self.__checkForKey('set') is None:
|
||||
return KeyError("This card has no associated set key.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue