Fix the /etc/cgit-projects pointer.

This commit is contained in:
Ralph Bean 2015-09-25 16:40:21 +00:00
parent 19389f221a
commit e3f5a2bc15

View file

@ -48,7 +48,7 @@ def construct_url(slug):
repo = repodir + ".git"
with open('/etc/cgit-projects-lockbox01', 'r') as f:
with open('/etc/cgit-projects-batcave', 'r') as f:
lines = [line.strip() for line in f.readlines()]
if repo in lines and slug: