UIBase imports without try except

Python 2 is not supported now. The import is the same in try and except.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-29 08:58:53 +02:00
parent 3e8c4e3d19
commit 46c677151a

View File

@ -22,10 +22,7 @@ import time
import sys import sys
import traceback import traceback
import threading import threading
try: from queue import Queue
from queue import Queue
except ImportError: # python3
from queue import Queue
from collections import deque from collections import deque
import offlineimap import offlineimap