From 5eb96455bc61034734ab8cb832f394f4a039612d Mon Sep 17 00:00:00 2001 From: Remy Date: Wed, 25 May 2011 15:41:45 -0700 Subject: [PATCH] Minor interface changes --- config.py | 3 ++- data/css/style.css | 2 +- searcher.py | 3 ++- webServer.py | 1 - 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config.py b/config.py index 6030ffc5..5516e080 100644 --- a/config.py +++ b/config.py @@ -89,7 +89,8 @@ form = '''
Delete leftover files

Album Art:

Add album art -

''' % (http_host, http_username, +


+ (For now, all changes require a restart to take effect)

''' % (http_host, http_username, http_port, http_password, var_to_chk(launch_browser), sab_host, sab_username, sab_apikey, sab_password, sab_category, music_download_dir, usenet_retention, var_to_chk(nzbmatrix), nzbmatrix_username, nzbmatrix_apikey, var_to_chk(include_lossless), var_to_chk(flac_to_mp3), var_to_chk(move_to_itunes), path_to_itunes, var_to_chk(rename_mp3s), diff --git a/data/css/style.css b/data/css/style.css index 9a2bccb7..98b31847 100644 --- a/data/css/style.css +++ b/data/css/style.css @@ -81,7 +81,7 @@ h1{ } .center{ text-align: center; - font-size: 28px; + font-size: 18px; } .smalltext{ font-size: 11px; diff --git a/searcher.py b/searcher.py index 30a4a9b0..6a6b4828 100644 --- a/searcher.py +++ b/searcher.py @@ -7,6 +7,7 @@ import feedparser import sqlite3 import re + config = ConfigObj(config_file) General = config['General'] NZBMatrix = config['NZBMatrix'] @@ -30,7 +31,7 @@ else: maxsize = 250000000 def searchNZB(albumid=None): - + conn=sqlite3.connect(database) c=conn.cursor() diff --git a/webServer.py b/webServer.py index 12b3e8f8..8bde25f0 100644 --- a/webServer.py +++ b/webServer.py @@ -373,7 +373,6 @@ class Headphones: General['add_album_art'] = add_album_art configs.write() - reload(config) raise cherrypy.HTTPRedirect("/config")