minor fix
This commit is contained in:
parent
f3ff9b1f23
commit
997213837c
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ __pycache__/*
|
||||||
cp2opt.sh
|
cp2opt.sh
|
||||||
.remote-sync.json
|
.remote-sync.json
|
||||||
build/*
|
build/*
|
||||||
|
test.py
|
||||||
|
|
|
@ -15,8 +15,8 @@ def mozDefragFirefox(): # Firefox defrag
|
||||||
cmd2exec = "for f in ~/.mozilla/firefox/*/*.sqlite;"
|
cmd2exec = "for f in ~/.mozilla/firefox/*/*.sqlite;"
|
||||||
cmd2exec += "do sqlite3 $f 'VACUUM;';"
|
cmd2exec += "do sqlite3 $f 'VACUUM;';"
|
||||||
cmd2exec += "done"
|
cmd2exec += "done"
|
||||||
cmdOutput = subprocess.check_output(cmd2exec,
|
cmdOutput = str(subprocess.check_output(cmd2exec,
|
||||||
shell=True).decode("utf-8")
|
shell=True).decode("utf-8"))
|
||||||
return cmdOutput
|
return cmdOutput
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue