diff options
author | cedricbonhomme <devnull@localhost> | 2010-08-25 07:00:56 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-08-25 07:00:56 +0200 |
commit | 6da0beb5558d02803d376f8113896ffa908300d0 (patch) | |
tree | 8f807a4ac749c3911cb7c603195ecb54992b4bf4 /pyAggr3g470r.py | |
parent | Code improvement. 'pylint --max-line-length=200 pyAggr3g470r.py = 8.41/10' (diff) | |
download | newspipe-6da0beb5558d02803d376f8113896ffa908300d0.tar.gz newspipe-6da0beb5558d02803d376f8113896ffa908300d0.tar.bz2 newspipe-6da0beb5558d02803d376f8113896ffa908300d0.zip |
Configuration file improvement (no need to set the path in the configuration file).
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-x | pyAggr3g470r.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index cee15f51..04c6383f 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -22,31 +22,31 @@ bindhost = "0.0.0.0" cherrypy.config.update({ 'server.socket_port': 12556, 'server.socket_host': bindhost}) path = {'/css/style.css': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/style.css'}, \ + 'tools.staticfile.filename':utils.path+'/css/style.css'}, \ '/css/img/feed-icon-28x28.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/feed-icon-28x28.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/feed-icon-28x28.png'}, \ '/css/img/tuxrss.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/tuxrss.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/tuxrss.png'}, \ '/css/img/delicious.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/delicious.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/delicious.png'}, \ '/css/img/digg.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/digg.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/digg.png'}, \ '/css/img/reddit.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/reddit.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/reddit.png'}, \ '/css/img/scoopeo.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/scoopeo.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/scoopeo.png'}, \ '/css/img/blogmarks.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/blogmarks.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/blogmarks.png'}, \ '/css/img/buzz.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/buzz.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/buzz.png'}, \ '/css/img/heart.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/heart.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/heart.png'}, \ '/css/img/heart_open.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/heart_open.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/heart_open.png'}, \ '/css/img/email.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/email.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/email.png'}, \ '/css/img/cross.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'css/img/cross.png'}, \ + 'tools.staticfile.filename':utils.path+'/css/img/cross.png'}, \ '/var/qrcode': {'tools.staticdir.on': True, 'tools.staticdir.dir': os.path.join(utils.path, './var/qrcode')}} |