Changeset 6366


Ignore:
Timestamp:
Feb 19, 2009, 11:21:50 AM (16 years ago)
Author:
rwilson
Message:

Fixed a bug that Kristy found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/tools/event_selection/EventSelection.py

    r6364 r6366  
    834834
    835835            fault_event_dir = os.path.join(output_base_dir, str(quake_ID))
    836             os.makedirs(fault_event_dir)
     836            if not os.path.exists(fault_event_dir):
     837                os.mkdir(fault_event_dir)
    837838            fault_event_filename = os.path.join(fault_event_dir, 'event.list')
    838839
Note: See TracChangeset for help on using the changeset viewer.