Skip to content

Commit db31b58

Browse files
committed
Addresses queue module not found import error.
1 parent 8605851 commit db31b58

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

_changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v0.9.51
2+
- Addresses queue `module not found` import error.
3+
14
v0.9.50
25
- Updates image save path logic for Indigo 2021.
36

matplotlib.indigoPlugin/Contents/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>PluginVersion</key>
6-
<string>0.9.50</string>
6+
<string>0.9.51</string>
77
<key>ServerApiVersion</key>
88
<string>2.0</string>
99
<key>IwsApiVersion</key>

matplotlib.indigoPlugin/Contents/Server Plugin/plugin.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
# starting a new one. (Too many open files error.)
5050
# TODO: Text idea of throwing up a dialog box when new version of plugin installed. Use
5151
# version number key of last one viewed.
52-
# ================================== IMPORTS ==================================
5352

53+
# ================================== IMPORTS ==================================
5454
try:
5555
import indigo
56-
except ImportError as error:
56+
except ImportError:
5757
pass
5858

5959
# Built-in modules
@@ -69,7 +69,12 @@
6969
import operator as op
7070
import os
7171
import pickle
72-
from queue import Queue
72+
73+
try:
74+
from queue import Queue
75+
except ImportError:
76+
from Queue import Queue
77+
7378
import re
7479
import shutil
7580
import subprocess
@@ -104,7 +109,7 @@
104109
__license__ = Dave.__license__
105110
__build__ = Dave.__build__
106111
__title__ = u"Matplotlib Plugin for Indigo"
107-
__version__ = u"0.9.50"
112+
__version__ = u"0.9.51"
108113

109114
# =============================================================================
110115

0 commit comments

Comments
 (0)