From 997213837cd8eac894f70b9e83c1f8219e8cd142 Mon Sep 17 00:00:00 2001 From: shakasan Date: Sun, 1 Oct 2017 03:01:57 +0200 Subject: [PATCH] minor fix --- .gitignore | 1 + libMozDefrag.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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