code cleaning
This commit is contained in:
parent
1f431983b3
commit
d0339098f3
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue