Skip to content

Commit

Permalink
Maintaining compatibility between py2 & 3. One still cannot build / c…
Browse files Browse the repository at this point in the history
…ompile to binary with py2exe but lbc with the FruitBasket GUI program runs from source. Also still exits normally despite the attribute error regarding the allegedly non-existent App.exit() attribute, so will have to trap and fix this issue later.
  • Loading branch information
njsch committed Jun 10, 2020
1 parent d529e4e commit 87177b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
import ctypes, os, sys
import win32api
import wx
from odict import OrderedDict
try:
from odict import OrderedDict
except:
from odict import odict as OrderedDict

DEFAULT_PARENT = -1
DEFAULT_STYLE = 0
Expand Down

0 comments on commit 87177b6

Please sign in to comment.