Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lib] Remove duplicate hashlib import #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions centry.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import csv
import multiprocessing
from tkinter import *
import hashlib
import datetime

def configsave():
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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":
Expand Down