@synchronized(NZB_LOCK)
def backup_exists(filename):
 path = cfg.nzb_backup_dir.get_path()
 return (path and os.path.exists(os.path.join(path, (filename + '.gz'))))

@ synchronized ( NZB_LOCK ) def backup_exists ( filename ) : path = cfg . nzb_backup_dir . get_path ( ) return ( path and os . path . exists ( os . path . join ( path , ( filename + '.gz' ) ) ) )
return true if backup exists and no_dupes is set .