Permalink
Browse files

Fixing issue with opening some legacy 1.4.x project files.

  • Loading branch information...
jonoomph committed Apr 13, 2016
1 parent d542101 commit 850c1c6e157ffb6e0f5dd5d818d48136cc71ae94
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/classes/project_data.py
@@ -379,13 +379,15 @@ def read_legacy_project_file(self, file_path):
# Import legacy openshot classes (from version 1.X)
from classes.legacy.openshot import classes as legacy_classes
from classes.legacy.openshot.classes import project as legacy_project
from classes.legacy.openshot.classes import sequences as legacy_sequences
from classes.legacy.openshot.classes import track as legacy_track
from classes.legacy.openshot.classes import clip as legacy_clip
from classes.legacy.openshot.classes import keyframe as legacy_keyframe
from classes.legacy.openshot.classes import files as legacy_files
from classes.legacy.openshot.classes import transition as legacy_transition
sys.modules['openshot.classes'] = legacy_classes
sys.modules['classes.project'] = legacy_project
sys.modules['classes.sequences'] = legacy_sequences
sys.modules['classes.track'] = legacy_track
sys.modules['classes.clip'] = legacy_clip

0 comments on commit 850c1c6

Please sign in to comment.