fix bug with the on_at() filtering method
[nstv.git] / nstv_config.py
blob5dd605646670b5a7223dfd7d8417a910006639b5
1 # Copyright (C) 2008 Robert Vally
3 # This file is part of nstv (Now Showing TV).
5 # nstv is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # nstv is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with nstv. If not, see <http://www.gnu.org/licenses/>.
18 import ConfigParser
20 class Config:
21 config_file = None
23 def __init__(self):
24 None
26 def Config(filename='.nstvrc'):
27 self.config_file = filename
28 return self