diff --git a/.gitignore b/.gitignore index 4874ef2..7ba1999 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ __pycache__/* cp2opt.sh .remote-sync.json build/* +test.py diff --git a/libMozDefrag.py b/libMozDefrag.py index 70c19d1..b23aea3 100644 --- a/libMozDefrag.py +++ b/libMozDefrag.py @@ -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