Changeset 460b0deb510719804b18ad491e64e56d9afb57ff
- 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
| rc38fb9b |
r460b0de |
|
| 20 | 20 | extensions = None |
|---|
| 21 | 21 | |
|---|
| 22 | | debug = config.getDebug() |
|---|
| 23 | | hack83 = config.getHack83() |
|---|
| 24 | | |
|---|
| 25 | 22 | def debug_write(data): |
|---|
| 26 | | if debug: |
|---|
| | 23 | if config.getDebug(): |
|---|
| 27 | 24 | debug_out = [] |
|---|
| 28 | 25 | debug_out.append('Video.py - ') |
|---|
| … | … | |
| 32 | 29 | fdebug.write(' '.join(debug_out)) |
|---|
| 33 | 30 | fdebug.close() |
|---|
| 34 | | |
|---|
| 35 | | if hack83: |
|---|
| 36 | | debug_write(['Hack83 is enabled.\n']) |
|---|
| 37 | 31 | |
|---|
| 38 | 32 | class Video(Plugin): |
|---|
| … | … | |
| 342 | 336 | # If you are running 8.3 software you want to enable hack83 |
|---|
| 343 | 337 | # in the config file |
|---|
| 344 | | |
|---|
| 345 | | if hack83: |
|---|
| | 338 | if config.getHack83(): |
|---|
| 346 | 339 | print '=' * 73 |
|---|
| 347 | 340 | query, hackPath = self.hack(handler, query, subcname) |
|---|