[pitivi] preset: Minor fixes



commit 6b6de0360bfbd3746e74d0b0b1a0c639ba32f7e7
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Nov 25 10:30:02 2015 +0100

    preset: Minor fixes

 pitivi/preset.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/preset.py b/pitivi/preset.py
index f0e7302..0a824cd 100644
--- a/pitivi/preset.py
+++ b/pitivi/preset.py
@@ -96,7 +96,6 @@ class PresetManager(GObject.Object, Loggable):
 
         action_group = Gio.SimpleActionGroup()
         menu_model = Gio.Menu()
-        preset_actions = {}
 
         action = Gio.SimpleAction.new("new", None)
         action.connect("activate", self._addPresetCb)
@@ -189,7 +188,7 @@ class PresetManager(GObject.Object, Loggable):
                 try:
                     preset = self._deserializePreset(parser)
                 except DeserializeException as e:
-                    self.error("Failed to load preset %s: %s", filepath, e)
+                    self.debug("Failed to load preset %s: %s", filepath, e)
                     continue
                 preset["filepath"] = filepath
                 for key, value in extra.items():


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]