Searcher, settings styling

This commit is contained in:
Ruud committed 2011-03-06 03:01:31 +01:00
1 parent 44395ff195
commit 322762d702
26 files changed
+8058 -663

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ class Settings():
def set(self, section, option, value):
return self.p.set(section, option, self.cleanValue(value))
def get(self, option = '', section = 'global', default = ''):
def get(self, option = '', section = 'core', default = ''):
try:
value = self.p.get(section, option)
return self.cleanValue(value)
+9
View File
@@ -121,3 +121,12 @@ class RenameHistory(Entity):
new = Field(String(255))
file = ManyToOne('File')
def setup():
""" Setup the database and create the tables that don't exists yet """
from elixir import setup_all, create_all
from couchpotato import get_engine
setup_all()
create_all(get_engine())