]> git.llucax.com Git - software/blitiri.git/commit
Relax config import to make it usable.
authorAlberto Bertogli <albertito@gmail.com>
Tue, 22 May 2007 05:30:36 +0000 (02:30 -0300)
committerAlberto Bertogli <albertito@gmail.com>
Tue, 22 May 2007 05:30:36 +0000 (02:30 -0300)
commit958d21141796b86d79fc95c86f679d08652ef78e
tree11ef43c7972be0bc5f030e8a3eb6cbf6fa3fe759
parente08e65182823a7ef54e4c69f054754ad5b424720
Relax config import to make it usable.

The os.path.isfile("config.py") check is too strict: it makes blitiri
usable from the command line only if it's ran in the directory where it
lives.

There's no point in doing that, let's just relax the import.
The chances of a config module collision are too low to be worth the
usability problem.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>
blitiri.cgi