fix illegal use of **

This commit is contained in:
Matt Cooper 2019-08-31 12:02:28 -04:00 committed by GitHub
parent 5b6412f849
commit 406d74c258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@ import urllib
class ScryfallError(Exception):
def __init__(self, error_obj, *args, **kwargs):
super(self.__class__, self).__init__(*args, **kwargs)
self.error_details = **error_obj
self.error_details = {}
self.error_details.update(error_obj)
class FoundationObject(object):