From ab8744e30d29c7ae382f7080c73eebd6a86c618a Mon Sep 17 00:00:00 2001 From: rembo10 Date: Fri, 23 Mar 2012 12:35:23 +0000 Subject: [PATCH] Removed updateFormat() thread from startup - causing problems when daemonized --- headphones/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/headphones/__init__.py b/headphones/__init__.py index f8e5ba22..2f11444f 100644 --- a/headphones/__init__.py +++ b/headphones/__init__.py @@ -666,9 +666,6 @@ def dbcheck(): c.execute('SELECT Format from tracks') except sqlite3.OperationalError: c.execute('ALTER TABLE tracks ADD COLUMN Format TEXT DEFAULT NULL') - - # Update the Format of files in library, this won't do anything if all files have a known format - threading.Thread(target=importer.updateFormat).start() conn.commit() c.close()