From 6bba210fd094c91c90c56bb648c619aedffd5193 Mon Sep 17 00:00:00 2001 From: Labrys of Knossos Date: Sat, 15 Dec 2018 13:24:31 -0500 Subject: [PATCH] Fix imap is map in python 3 --- libs/synchronousdeluge/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/synchronousdeluge/client.py b/libs/synchronousdeluge/client.py index 065e873d..7d0bbba0 100644 --- a/libs/synchronousdeluge/client.py +++ b/libs/synchronousdeluge/client.py @@ -2,7 +2,8 @@ import os import platform from collections import defaultdict -from itertools import imap + +from six.moves import map as imap from .exceptions import DelugeRPCError from .protocol import DelugeRPCRequest, DelugeRPCResponse