Changeset 1208 for SHX


Ignore:
Timestamp:
20.12.2016 10:08:10 (3 years ago)
Author:
klaus
Message:

added global input dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/commands/magnitude.py

    r1207 r1208  
    524524        self.initialized = False 
    525525        self.plotdata = None 
    526         for pname in Settings.config.paths.private: 
     526        globdir = os.path.join(os.path.split(__file__)[0], "..", "data") 
     527        for pname in Settings.config.paths.private+[globdir]: 
    527528            filename = os.path.join( pname, 'ml_statistics.dat' ) 
    528529            if os.path.exists(filename): 
Note: See TracChangeset for help on using the changeset viewer.