diff --git a/twander.py b/twander.py index 27430d8..4e30f79 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 3.204 2006/12/15 23:10:22 tundra Exp $" +RCSID = "$Id: twander.py,v 3.205 2006/12/18 17:35:09 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -740,6 +740,7 @@ # Errors +eBADEXEC = "Cannot Run %s.\n File Is Not Executable And Has No Application Association" eBADROOT = "%s Is Not A Directory" eDIRRD = "Cannot Open Directory : %s --- Check Permissions." eERROR = "ERROR" @@ -3577,7 +3578,7 @@ assocfound = False for assoc in UI.Associations: - if selected.endswith(assoc): + if selected.endswith(assoc) or (OSPLATFORM == 'win32' and selected.lower().endswith(assoc.lower())): selected = UI.Associations[assoc] assocfound = True