[library-web/new-website-style: 3/24] fixed retrieval of remote documents



commit 95e4064fe491d647a6a671db51c3df112f549dcd
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Mar 19 21:23:49 2011 +0100

    fixed retrieval of remote documents

 src/overlay.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/overlay.py b/src/overlay.py
index 55989e4..f26a4f4 100644
--- a/src/overlay.py
+++ b/src/overlay.py
@@ -157,7 +157,7 @@ class Overlay:
         for overlay in self.new_docs:
             doc = RemoteDocument(overlay)
             if app.config.channels is None or doc.channel in app.config.channels:
-                self.retrieve_if_necessary(overlay)
+                doc.retrieve_if_necessary(overlay)
                 self.apply(doc)
                 l.append(doc)
         return l



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]