Changeset 9c4cd8


Ignore:
Timestamp:
08/07/2011 05:16:44 AM (14 years ago)
Author:
John Garland <johnnybg+deluge@gmail.com>
Children:
93a860
Parents:
fc6f9e
Message:

Iterate over values not keys (fixes autoadd error)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • deluge/plugins/autoadd/autoadd/core.py

    rfc6f9e r9c4cd8  
    105105            self.core_cfg.save()
    106106            # Check if core autoadd folder is already added in plugin
    107             for watchdir in self.watchdirs:
     107            for watchdir in self.watchdirs.itervalues():
    108108                if os.path.abspath(self.core_cfg['autoadd_location']) == watchdir['abspath']:
    109109                    watchdir['enabled'] = True
Note: See TracChangeset for help on using the changeset viewer.