From e5e23ee9ea14cca6e597c2fc3e31ec74a2cc7e46 Mon Sep 17 00:00:00 2001 From: toby cabot Date: Fri, 29 Mar 2019 13:27:38 -0400 Subject: [PATCH] Switch EmotionAPI to a new-style python class This allows us to subclass it and call the superclass init method from the subclass init. --- affectiva/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/affectiva/api.py b/affectiva/api.py index b067916..f245de0 100644 --- a/affectiva/api.py +++ b/affectiva/api.py @@ -5,7 +5,7 @@ ACCEPT_JSON = {'Accept': 'application/json'} -class EmotionAPI: +class EmotionAPI(object): """Class to handle interfacing with Affectiva's Emotion as a Service API. Example usage: