diff options
Diffstat (limited to 'abs/core/LinHES-config')
-rwxr-xr-x | abs/core/LinHES-config/timezip.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/abs/core/LinHES-config/timezip.py b/abs/core/LinHES-config/timezip.py index c6c68d1..adf7d1b 100755 --- a/abs/core/LinHES-config/timezip.py +++ b/abs/core/LinHES-config/timezip.py @@ -352,9 +352,9 @@ def insertvars(): cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('MusicLocation',(%s),(%s))",(musicdir,thishostname)) print "inserting musicdir" else: - no_update("musicdir") - #cursor.execute("update settings set data=(%s) where hostname=(%s) and value='MusicLocation'",(musicdir,thishostname)) - #print "updating musicdir" + #no_update("musicdir") + cursor.execute("update settings set data=(%s) where hostname=(%s) and value='MusicLocation'",(musicdir,thishostname)) + print "updating musicdir" if ( filenametemplate != "" ): cursor.execute("select * from settings where value='FilenameTemplate' and hostname=(%s)",(thishostname)) @@ -374,9 +374,9 @@ def insertvars(): cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('GalleryDir',(%s),(%s))",(gallerydir,thishostname)) print "inserting gallerydir" else: - no_update("gallerydir") - #cursor.execute("update settings set data=(%s) where hostname=(%s) and value='GalleryDir'",(gallerydir,thishostname)) - #print "updating gallerydir" + #no_update("gallerydir") + cursor.execute("update settings set data=(%s) where hostname=(%s) and value='GalleryDir'",(gallerydir,thishostname)) + print "updating gallerydir" |