From dfa247bf88194b143ddfb3045e08dfa19f37090a Mon Sep 17 00:00:00 2001 From: NoDRM Date: Sat, 6 Aug 2022 20:19:36 +0200 Subject: [PATCH] Cleanup --- DeDRM_plugin/convert2xml.py | 3 +-- DeDRM_plugin/utilities.py | 12 ------------ 2 files changed, 1 insertion(+), 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: