Skip to content

Commit

Permalink
Fixed bug in migrator which broke any new installs
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed Apr 5, 2014
1 parent 0e89c80 commit 3d6c1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trakttv.bundle/Contents/Code/core/migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def preferences_path(self):
def get_preferences(self):
if not os.path.exists(self.preferences_path):
log.warn('Unable to find preferences file at "%s", unable to run migration', self.preferences_path)
return None
return {}

data = Core.storage.load(self.preferences_path)
doc = etree.fromstring(data)
Expand Down

0 comments on commit 3d6c1b7

Please sign in to comment.