Update of /cvsroot/freevo/freevo/src/video/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv9788/video/plugins

Modified Files:
        imdb.py 
Log Message:
add deactivation when something is wrong

Index: imdb.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/imdb.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** imdb.py     23 Aug 2003 12:51:43 -0000      1.18
--- imdb.py     10 Sep 2003 19:30:08 -0000      1.19
***************
*** 16,19 ****
--- 16,22 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.19  2003/09/10 19:30:08  dischi
+ # add deactivation when something is wrong
+ #
  # Revision 1.18  2003/08/23 12:51:43  dischi
  # removed some old CVS log messages
***************
*** 57,60 ****
--- 60,69 ----
  
  class PluginInterface(plugin.ItemPlugin):
+     def __init__(self, license=None):
+         if not config.USE_NETWORK:
+             self.reason = 'no network'
+             return
+         plugin.ItemPlugin.__init__(self)
+ 
      
      def imdb_get_disc_searchstring(self, item):




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to