Changed set attribute to prevent some confusion from python.

This commit is contained in:
Nanda Scott 2018-02-06 20:11:18 -05:00
parent 4bc6867f60
commit 05d398e7fb
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class ScryfallObject(object):
return self.scryfallJson['reprint'] return self.scryfallJson['reprint']
def set(self): def set_code(self):
if self.__checkForKey('set') is None: if self.__checkForKey('set') is None:
return KeyError("This card has no associated set key.") return KeyError("This card has no associated set key.")