minor fix

This commit is contained in:
shakasan 2017-10-01 03:01:57 +02:00
parent f3ff9b1f23
commit 997213837c
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ __pycache__/*
cp2opt.sh
.remote-sync.json
build/*
test.py

View file

@ -15,8 +15,8 @@ def mozDefragFirefox(): # Firefox defrag
cmd2exec = "for f in ~/.mozilla/firefox/*/*.sqlite;"
cmd2exec += "do sqlite3 $f 'VACUUM;';"
cmd2exec += "done"
cmdOutput = subprocess.check_output(cmd2exec,
shell=True).decode("utf-8")
cmdOutput = str(subprocess.check_output(cmd2exec,
shell=True).decode("utf-8"))
return cmdOutput