Changeset 7085


Ignore:
Timestamp:
25/06/10 09:11:04 (9 years ago)
Author:
astephen
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/process_modules/lib_extract_uk_station_data/utils.py

    r7084 r7085  
    3737    output_file_paths = [] 
    3838 
    39     progress = 1 # % of way through 
     39    progress = 5 # % of way to completion 
    4040 
    4141    for (count, (start_date, end_date)) in enumerate(time_splits):  
     
    6262 
    6363        # Report on progress 
    64         progress += (int(float(count) / len(time_splits) * 100)) 
    65         context.setStatus(STATUS.STARTED, 'Job is now running', progress) 
     64        progress = int(float(count) / len(time_splits) * 100) 
     65        context.setStatus(STATUS.STARTED, 'Station data being extracted', progress) 
    6666        context.saveStatus() 
    6767         
Note: See TracChangeset for help on using the changeset viewer.