summaryrefslogtreecommitdiffstats
path: root/DeDRM_plugin
diff options
context:
space:
mode:
authorNoDRM <[email protected]>2022-08-06 20:19:36 +0200
committerNoDRM <[email protected]>2022-08-06 20:19:36 +0200
commitdfa247bf88194b143ddfb3045e08dfa19f37090a (patch)
tree1f9064900a8845e0c1f9e12f0b7cdd1d026a5604 /DeDRM_plugin
parenta0bb84fbfcceb79f42eb1675c237b00420a8760e (diff)
Cleanup
Diffstat (limited to 'DeDRM_plugin')
-rw-r--r--DeDRM_plugin/convert2xml.py3
-rw-r--r--DeDRM_plugin/utilities.py12
2 files changed, 1 insertions, 14 deletions
diff --git a/DeDRM_plugin/convert2xml.py b/DeDRM_plugin/convert2xml.py
index 5cb9adb..6af190b 100644
--- a/DeDRM_plugin/convert2xml.py
+++ b/DeDRM_plugin/convert2xml.py
@@ -11,8 +11,7 @@ import sys
import csv
import os
import getopt
-from struct import pack
-from struct import unpack
+from struct import pack, unpack
class TpzDRMError(Exception):
pass
diff --git a/DeDRM_plugin/utilities.py b/DeDRM_plugin/utilities.py
index 5537349..949b169 100644
--- a/DeDRM_plugin/utilities.py
+++ b/DeDRM_plugin/utilities.py
@@ -8,18 +8,6 @@ import sys
__license__ = 'GPL v3'
-DETAILED_MESSAGE = \
-'You have personal information stored in this plugin\'s customization '+ \
-'string from a previous version of this plugin.\n\n'+ \
-'This new version of the plugin can convert that info '+ \
-'into key data that the new plugin can then use (which doesn\'t '+ \
-'require personal information to be stored/displayed in an insecure '+ \
-'manner like the old plugin did).\n\nIf you choose NOT to migrate this data at this time '+ \
-'you will be prompted to save that personal data to a file elsewhere; and you\'ll have '+ \
-'to manually re-configure this plugin with your information.\n\nEither way... ' + \
-'this new version of the plugin will not be responsible for storing that personal '+ \
-'info in plain sight any longer.'
-
def uStrCmp (s1, s2, caseless=False):
import unicodedata as ud
if sys.version_info[0] == 2: