mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
7192861301
commit
57a3121f6c
@ -8,7 +8,7 @@ __docformat__ = 'restructuredtext en'
|
|||||||
|
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
from PyQt5.Qt import (Qt, QWidget, QLabel, QGridLayout, QLineEdit, QVBoxLayout,
|
from PyQt5.Qt import (QWidget, QLabel, QGridLayout, QLineEdit, QVBoxLayout,
|
||||||
QDialog, QDialogButtonBox, QCheckBox, QPushButton)
|
QDialog, QDialogButtonBox, QCheckBox, QPushButton)
|
||||||
|
|
||||||
from calibre.gui2.device_drivers.tabbed_device_config import TabbedDeviceConfig, DeviceConfigTab, DeviceOptionsGroupBox
|
from calibre.gui2.device_drivers.tabbed_device_config import TabbedDeviceConfig, DeviceConfigTab, DeviceOptionsGroupBox
|
||||||
|
@ -137,7 +137,8 @@ class FloatSpec(object):
|
|||||||
padding = getattr(self, 'padding_' + edge)
|
padding = getattr(self, 'padding_' + edge)
|
||||||
width = getattr(self, 'border_%s_width' % edge)
|
width = getattr(self, 'border_%s_width' % edge)
|
||||||
bstyle = getattr(self, 'border_%s_style' % edge)
|
bstyle = getattr(self, 'border_%s_style' % edge)
|
||||||
self.makeelement(bdr, 'w:'+edge, w_space=unicode_type(padding), w_val=bstyle, w_sz=unicode_type(width), w_color=getattr(self, 'border_%s_color' % edge))
|
self.makeelement(
|
||||||
|
bdr, 'w:'+edge, w_space=unicode_type(padding), w_val=bstyle, w_sz=unicode_type(width), w_color=getattr(self, 'border_%s_color' % edge))
|
||||||
|
|
||||||
|
|
||||||
class DOCXStyle(object):
|
class DOCXStyle(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user