projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
corrections.
[minwii.git]
/
src
/
songs
/
Song.py
diff --git
a/src/songs/Song.py
b/src/songs/Song.py
index
c018eae
..
c1d6641
100755
(executable)
--- a/
src/songs/Song.py
+++ b/
src/songs/Song.py
@@
-5,8
+5,12
@@
Created on 2 oct. 2009
'''
\r
import pickle
\r
import os.path
\r
'''
\r
import pickle
\r
import os.path
\r
-from MidiToSong import MidiToSong
\r
-from mxmMidi.MidiInFile import MidiInFile
\r
+try :
\r
+ from MidiToSong import MidiToSong
\r
+ from mxmMidi.MidiInFile import MidiInFile
\r
+except ImportError :
\r
+ # loadSongFromMidi KO dans ce cas.
\r
+ pass
\r
\r
class Song:
\r
'''
\r
\r
class Song:
\r
'''
\r