From 5903538ae50019e30fa01e145decaebe68cb6062 Mon Sep 17 00:00:00 2001 From: Labrys Date: Sat, 4 Jun 2016 23:34:56 -0400 Subject: [PATCH] Python 3: Make long = int --- core/synchronousdeluge/rencode.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/synchronousdeluge/rencode.py b/core/synchronousdeluge/rencode.py index 0d960255..843be62d 100644 --- a/core/synchronousdeluge/rencode.py +++ b/core/synchronousdeluge/rencode.py @@ -21,7 +21,10 @@ same rencode version throughout your project. import struct from threading import Lock +from six import PY3 +if PY3: + long = int __version__ = '1.0.1' __all__ = ['dumps', 'loads']