From d4bbcf78db24a033893d727f6955d234ef5a8a12 Mon Sep 17 00:00:00 2001 From: Ashish Ranjan Date: Mon, 15 Apr 2019 15:46:02 +0530 Subject: [PATCH] [lib] Remove duplicate hashlib import --- centry.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/centry.py b/centry.py index 44ea067..741c417 100755 --- a/centry.py +++ b/centry.py @@ -23,7 +23,6 @@ import csv import multiprocessing from tkinter import * -import hashlib import datetime def configsave(): @@ -54,7 +53,7 @@ def toggle(option): def really_panic(): if panic['confirmation'] == "1": toplevel = Toplevel() - + title = Label(toplevel, text="!PANIC!", font=('','16','')).pack() separator = Frame(toplevel, height=2, bd=1, relief=SUNKEN) @@ -91,10 +90,10 @@ def panic_now(): elif os.name == 'posix': try: - if panic['truecrypt'] == "1": + if panic['truecrypt'] == "1": os.popen("truecrypt /d /f /w /q /s") - - if panic['ram'] == "1": + + if panic['ram'] == "1": os.popen("sdmem -llf") if panic['screenlock'] == "1":