Better handling of when sortedcontainers is missing

This commit is contained in:
codemann8
2021-07-07 19:53:49 -05:00
parent 02d3b46ae4
commit 30efdfb65d

View File

@@ -1,7 +1,10 @@
import random, logging, copy
from sortedcontainers import SortedList
from BaseClasses import OWEdge, WorldType, RegionType, Direction, Terrain, PolSlot
from OWEdges import OWTileGroups, OWEdgeGroups, OpenStd, parallel_links, IsParallel
try:
from sortedcontainers import SortedList
except ImportError:
raise Exception('Could not load sortedcontainers module')
__version__ = '0.1.6.4-u'