diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-21 21:43:09 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-21 21:43:09 -0400 |
| commit | 908f2cd7727e939b87e3f57c1d3a189705de4c94 (patch) | |
| tree | d0a868121190fb0ae4cae2b9ee7ae199d5230ef0 /lib/extensions/install.py | |
| parent | 94f391ab4262b5e1c8dace0263467a0ec1f17058 (diff) | |
pyflakes fixes
Diffstat (limited to 'lib/extensions/install.py')
| -rw-r--r-- | lib/extensions/install.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/extensions/install.py b/lib/extensions/install.py index 0745eddc..314843f4 100644 --- a/lib/extensions/install.py +++ b/lib/extensions/install.py @@ -3,17 +3,12 @@ import sys import traceback import os -from os.path import realpath, dirname from glob import glob -from threading import Thread -import socket -import errno -import time -import logging import wx import inkex from ..utils import guess_inkscape_config_path, get_bundled_dir +from ..i18n import _ class InstallerFrame(wx.Frame): @@ -64,7 +59,7 @@ class InstallerFrame(wx.Frame): try: self.install_addons('palettes') self.install_addons('symbols') - except Exception as e: + except Exception: wx.MessageDialog(self, _('Inkscape add-on installation failed') + ': \n' + traceback.format_exc(), _('Installation Failed'), |
