diff options
Diffstat (limited to 'select_wx_2.8.patch')
-rw-r--r-- | select_wx_2.8.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/select_wx_2.8.patch b/select_wx_2.8.patch new file mode 100644 index 000000000000..25124405fbdc --- /dev/null +++ b/select_wx_2.8.patch @@ -0,0 +1,20 @@ +diff --git a/PirateScope b/PirateScope +index c71203f..c9d1f6e 100755 +--- a/PirateScope ++++ b/PirateScope +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + # PirateScope - Oscilloscope script for Dangerous Prototypes' Bus Pirate + # Copyright (C) 2010 Tim Vaughan +@@ -16,6 +16,9 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see <http://www.gnu.org/licenses/>. + ++import wxversion ++wxversion.select('2.8') ++ + import wx + from wx.lib import plot + from wx.lib.wordwrap import wordwrap |