Changeset 11388:aa3090917151 in orange


Ignore:
Timestamp:
03/07/13 12:45:06 (14 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed 'config.cache_dir' location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/config.py

    r11299 r11388  
    150150    """ 
    151151    init() 
    152     datadir = QDesktopServices.storageLocation(QDesktopServices.DataLocation) 
    153     datadir = unicode(datadir) 
    154     if not os.path.exists(datadir): 
    155         os.makedirs(datadir) 
    156     return datadir 
     152    cachedir = QDesktopServices.storageLocation(QDesktopServices.CacheLocation) 
     153    cachedir = unicode(cachedir) 
     154    if not os.path.exists(cachedir): 
     155        os.makedirs(cachedir) 
     156    return cachedir 
    157157 
    158158 
Note: See TracChangeset for help on using the changeset viewer.