From d0339098f32ec02b4d42ca7fa57918cc34938d9a Mon Sep 17 00:00:00 2001 From: "Francois B (Makoto)" Date: Fri, 29 Sep 2017 18:32:34 +0200 Subject: [PATCH] code cleaning --- libMozDefrag.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libMozDefrag.py b/libMozDefrag.py index 7d180f8..70c19d1 100644 --- a/libMozDefrag.py +++ b/libMozDefrag.py @@ -7,11 +7,8 @@ Author : Francois B (Makoto) Licence : GPL3 """ -import os import subprocess -currentDir = os.path.dirname(os.path.abspath(__file__)) - def mozDefragFirefox(): # Firefox defrag @@ -29,7 +26,7 @@ def mozDefragThunderbird(): # Thunderbird defrag cmd2exec += "do sqlite3 $f 'VACUUM;';" cmd2exec += "done" cmdOutput = str(subprocess.check_output(cmd2exec, - shell=True).decode("utf-8")) + shell=True).decode("utf-8")) return cmdOutput