Changeset 6081 for trunk


Ignore:
Timestamp:
Feb 28, 2016 5:50:14 PM (8 years ago)
Author:
ldelgass
Message:

Add catch for missing files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/mapviewer.tcl

    r6073 r6081  
    24162416    }
    24172417    set basename [file rootname $path]
    2418     set files [glob -path $basename .*]
     2418    if {[catch {set files [glob -path $basename .*]} err] != 0} {
     2419        puts stderr "File not found: $path"
     2420        return
     2421    }
    24192422    foreach file $files {
    24202423        set name $file
Note: See TracChangeset for help on using the changeset viewer.