Assembla home | Assembla project page
 

Changeset 2829

Show
Ignore:
Timestamp:
10/14/09 19:15:27 (5 months ago)
Author:
shypike
Message:

Handle "None" as permissions parameter.
Closes #326 for 0.4.x

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/sabnzbd-0.4.x/sabnzbd/__init__.py

    r2462 r2829  
    369369 
    370370    PAR_CLEANUP = bool(check_setting_int(CFG, 'misc', 'enable_par_cleanup', 1)) 
    371      
     371 
    372372    PAR_MULTICORE = bool(check_setting_int(CFG, 'misc', 'enable_par_multicore', 1)) 
    373373 
     
    392392    UMASK = check_setting_str(CFG, 'misc', 'permissions', '') 
    393393    try: 
    394         if UMASK: 
     394        if UMASK and UMASK.lower() == 'none': 
     395            UMASK = '' 
     396        elif UMASK: 
    395397            int(UMASK, 8) 
    396398    except: