Changeset 3411

Show
Ignore:
Timestamp:
09/28/07 07:35:51 (1 year ago)
Author:
paul
Message:

Fixed case-mismatch in dLocalize, thanks to hraban in ticket #1086.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/dLocalize.py

    r3364 r3411  
    8989 
    9090def getDaboLocaleDir(): 
    91     localedir = os.path.join(os.path.split(dabo.__file__)[0], "locale") 
    92     if not os.path.isdir(localedir): 
     91    localeDir = os.path.join(os.path.split(dabo.__file__)[0], "locale") 
     92    if not os.path.isdir(localeDir): 
    9393        # Frozen app? 
    9494        # First need to find the directory that contains the .exe: 
     
    9898            if os.path.isdir(startupDir): 
    9999                break 
    100         localedir = os.path.join(startupDir, "dabo.locale") 
    101     return localedir 
     100        localeDir = os.path.join(startupDir, "dabo.locale") 
     101    return localeDir 
    102102 
    103103