From 406d74c258497a5b4a4c8f5ef5f9aec6b1803e04 Mon Sep 17 00:00:00 2001 From: Matt Cooper Date: Sat, 31 Aug 2019 12:02:28 -0400 Subject: [PATCH] fix illegal use of ** --- scrython/foundation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrython/foundation.py b/scrython/foundation.py index f72dc73..cbe5ad1 100644 --- a/scrython/foundation.py +++ b/scrython/foundation.py @@ -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):