Don't use relative imports in the tools scripts

This commit is contained in:
Robin Dunn
2020-03-20 13:47:50 -07:00
parent 8e2627e8e3
commit 764abb41bf
4 changed files with 4 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ Options:
import sys
import wx
from . import img2img
from wx.tools import img2img
app = None
def main():

View File

@@ -88,7 +88,7 @@ import sys
import tempfile
import wx
from . import img2img
from wx.tools import img2img
try:
b64encode = base64.b64encode

View File

@@ -36,7 +36,7 @@ Options:
import sys
import wx
from . import img2img
from wx.tools import img2img
app = None
def main():

View File

@@ -45,10 +45,7 @@ else:
from urllib import pathname2url
import wx
try:
import wxget
except ImportError:
from . import wxget
from wx.tools import wxget
print(sys.version_info, sys.version, sys.argv)
APP = None