Assembla home | Assembla project page
 

Changeset 2599

Show
Ignore:
Timestamp:
06/09/09 21:03:13 (9 months ago)
Author:
shypike
Message:

Store PP of future NZO-s in the r,u,d flags. Otherwise it will be lost.
Closes #289 for trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/main/sabnzbd/nzbstuff.py

    r2598 r2599  
    422422        TryList.__init__(self) 
    423423 
     424        if pp is None: 
     425            r = u = d = None 
     426        else: 
     427            r, u, d = sabnzbd.pp_to_opts(pp) 
     428 
    424429        self.__filename = filename    # Original filename 
    425430        self.__dirname = filename     # Keeps track of the working folder 
     
    428433        self.__bytes = 0              # Original bytesize 
    429434        self.__bytes_downloaded = 0   # Downloaded byte 
    430         self.__repair = None          # True if we want to repair this set 
    431         self.__unpack = None          # True if we want to unpack this set 
    432         self.__delete = None          # True if we want to delete this set 
     435        self.__repair = r             # True if we want to repair this set 
     436        self.__unpack = u             # True if we want to unpack this set 
     437        self.__delete = d             # True if we want to delete this set 
    433438        self.__script = script        # External script for this set 
    434439        self.__msgid = '0'            # Newzbin msgid