From 9ea21a7ecb3502fd3459e3314b3c6b7254d0fb44 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Tue, 26 May 2020 18:20:32 +0200 Subject: [PATCH] Possible fix for #1436 --- cps/worker.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cps/worker.py b/cps/worker.py index bc7dc32b..615d4183 100644 --- a/cps/worker.py +++ b/cps/worker.py @@ -24,7 +24,10 @@ import smtplib import socket import time import threading -import queue +try: + import queue +except ImportError: + import Queue as queue from glob import glob from shutil import copyfile from datetime import datetime