mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
8834991546
commit
05352b0233
@ -338,7 +338,7 @@ class ChooseLibraryAction(InterfaceAction):
|
||||
path = choose_files(self.gui, 'choose_library_icon',
|
||||
_('Select icon for library "%s"') % current_library_name(),
|
||||
filters=[('Images', ['png', 'gif', 'jpg', 'jpeg'])],
|
||||
all_files=False, select_only_single_file=True)
|
||||
all_files=False, select_only_single_file=True)
|
||||
if path:
|
||||
path = path[0]
|
||||
p = QIcon(path).pixmap(QSize(128, 128))
|
||||
|
@ -11,7 +11,7 @@ import os
|
||||
from datetime import datetime
|
||||
from functools import partial
|
||||
from qt.core import (
|
||||
QApplication, QDialog, QDialogButtonBox, QFont, QFrame, QGridLayout, QGroupBox,
|
||||
QApplication, QDialog, QDialogButtonBox, QFrame, QGridLayout, QGroupBox,
|
||||
QHBoxLayout, QIcon, QInputDialog, QKeySequence, QMenu, QPushButton, QScrollArea,
|
||||
QShortcut, QSize, QSizePolicy, QSpacerItem, QSplitter, Qt, QTabWidget,
|
||||
QToolButton, QVBoxLayout, QWidget, pyqtSignal
|
||||
|
Loading…
x
Reference in New Issue
Block a user