Show
Ignore:
Timestamp:
11/18/07 15:12:57 (2 years ago)
Author:
glslang
Message:

+ bug fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jahplayer/jahstate.py

    r907 r922  
    316316        # Attempt to restore 
    317317        def load_reels( self ): 
    318                 for f in utilities.get_files( utilities.get_absolute_reel( "" ), ".*\.reel$" ): 
     318                reels = utilities.get_files( utilities.get_absolute_reel( "" ), ".*\.reel$" ) 
     319                if not len( reels ): 
     320                        reels = ( utilities.get_absolute_reel( "default.reel" ), ) 
     321                for f in reels: 
    319322                        reel = assets.collection( ) 
    320323                        reel.load( self.database_plugin, f )