mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-12-27 09:58:59 +01:00
Allow Kindle serial numbers to have spaces, allowing copy/paste from Amazon web site (thanks to jakemarsden)
This commit is contained in:
parent
43f80b767a
commit
795f413ecb
1 changed files with 1 additions and 1 deletions
|
@ -879,7 +879,7 @@ class AddSerialDialog(QDialog):
|
|||
|
||||
@property
|
||||
def key_value(self):
|
||||
return unicode(self.key_ledit.text()).strip()
|
||||
return unicode(self.key_ledit.text()).replace(' ', '')
|
||||
|
||||
def accept(self):
|
||||
if len(self.key_name) == 0 or self.key_name.isspace():
|
||||
|
|
Loading…
Reference in a new issue