Resolve #222 (Use of ordered dicts in gui bumped python requirement to 2.7)
This commit is contained in:
@@ -20,11 +20,15 @@
|
||||
import os.path
|
||||
import config
|
||||
import wx
|
||||
import collections
|
||||
import time
|
||||
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
from compat import OrderedDict
|
||||
|
||||
cachedBitmapsCount = 0
|
||||
cachedBitmaps = collections.OrderedDict()
|
||||
cachedBitmaps = OrderedDict()
|
||||
dontUseCachedBitmaps = False
|
||||
|
||||
def getStaticBitmap(name, parent, location):
|
||||
|
||||
Reference in New Issue
Block a user