core: fixed Params class name in load_default_params

This commit is contained in:
Goffi 2012-03-06 09:03:19 +01:00
commit 7ecf184da0
2 changed files with 2 additions and 2 deletions

View file

@ -17,6 +17,7 @@ To use SàT, you will need to install:
- wxWidgets (http://www.wxwidgets.org) which is found in most distributions. The more recent the version is, the better. - wxWidgets (http://www.wxwidgets.org) which is found in most distributions. The more recent the version is, the better.
- urwid (http://excess.org/urwid/) which can be installed with easy_install - urwid (http://excess.org/urwid/) which can be installed with easy_install
- BeautifulSoup (http://www.crummy.com/software/BeautifulSoup/) which can be installed with easy_install - BeautifulSoup (http://www.crummy.com/software/BeautifulSoup/) which can be installed with easy_install
- Mutagen (http://code.google.com/p/mutagen/) which can be installed with easy_install
** PATHS: ** PATHS:

View file

@ -23,7 +23,6 @@ from __future__ import with_statement
import os.path import os.path
import time import time
import cPickle as pickle
from ConfigParser import SafeConfigParser, NoOptionError, NoSectionError from ConfigParser import SafeConfigParser, NoOptionError, NoSectionError
from xml.dom import minidom from xml.dom import minidom
from logging import debug, info, warning, error from logging import debug, info, warning, error
@ -74,7 +73,7 @@ class Params():
} }
def load_default_params(self): def load_default_params(self):
self.dom = minidom.parseString(Param.default_xml.encode('utf-8')) self.dom = minidom.parseString(Params.default_xml.encode('utf-8'))
def load_xml(self, file): def load_xml(self, file):
"""Load parameters template from file""" """Load parameters template from file"""