Changeset 460b0deb510719804b18ad491e64e56d9afb57ff

Show
Ignore:
Timestamp:
02/25/08 18:34:54 (11 months ago)
Author:
KRKeegan <-NOSPAM-kevin@krkeegan.com>
git-committer:
KRKeegan <-NOSPAM-kevin@krkeegan.com> 1203986094 -0800
git-parent:

[4ac7bd104dcba74f99af2a8b437f995e6589d961]

git-author:
KRKeegan <-NOSPAM-kevin@krkeegan.com> 1203986094 -0800
Message:

Update video.py to respect a reset of config.py

Getting rid of variables that are set on load in favor of calls to config.py.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/video/video.py

    rc38fb9b r460b0de  
    2020    extensions = None 
    2121 
    22 debug = config.getDebug() 
    23 hack83 = config.getHack83() 
    24  
    2522def debug_write(data): 
    26     if debug
     23    if config.getDebug()
    2724        debug_out = [] 
    2825        debug_out.append('Video.py - ') 
     
    3229        fdebug.write(' '.join(debug_out)) 
    3330        fdebug.close() 
    34  
    35 if hack83: 
    36     debug_write(['Hack83 is enabled.\n']) 
    3731 
    3832class Video(Plugin): 
     
    342336        # If you are running 8.3 software you want to enable hack83 
    343337        # in the config file 
    344  
    345         if hack83: 
     338        if config.getHack83(): 
    346339            print '=' * 73 
    347340            query, hackPath = self.hack(handler, query, subcname)