[pitivi] application: Fix serialization of project content in scenarios
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] application: Fix serialization of project content in scenarios
- Date: Thu, 8 Jan 2015 18:52:51 +0000 (UTC)
commit 0c2b43a0befe410a74969eeaca43f3655ff0e02b
Author: Thibault Saunier <tsaunier gnome org>
Date: Wed Jan 7 12:03:29 2015 +0100
application: Fix serialization of project content in scenarios
pitivi/application.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/application.py b/pitivi/application.py
index 516a140..ac66e1f 100644
--- a/pitivi/application.py
+++ b/pitivi/application.py
@@ -247,7 +247,7 @@ class Pitivi(Gtk.Application, Loggable):
if project_path:
f = open(project_path)
content = f.read()
- if not uri.endswith(".scenario"):
+ if not project_path.endswith(".scenario"):
self.write_action("load-project",
{"serialized-content":
"%s" % content.replace("\n", "")})
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]