kopia lustrzana https://github.com/noDRM/DeDRM_tools
Allow Kindle serial numbers to have spaces, allowing copy/paste from Amazon web site (thanks to jakemarsden)
rodzic
43f80b767a
commit
795f413ecb
|
@ -879,7 +879,7 @@ class AddSerialDialog(QDialog):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def key_value(self):
|
def key_value(self):
|
||||||
return unicode(self.key_ledit.text()).strip()
|
return unicode(self.key_ledit.text()).replace(' ', '')
|
||||||
|
|
||||||
def accept(self):
|
def accept(self):
|
||||||
if len(self.key_name) == 0 or self.key_name.isspace():
|
if len(self.key_name) == 0 or self.key_name.isspace():
|
||||||
|
|
Ładowanie…
Reference in New Issue