member.py links are relative

master
Jacob Parker 11 years ago
parent d0a579ab51
commit cd393a69fc
  1. 2
      .htaccess
  2. 2
      bin/members.py

@ -1,4 +1,4 @@
RewriteEngine on
RewriteBase /~j3parker/pub/csc/
RewriteBase /~j3parker/
RewriteRule ^pub/(.*) - [L]
RewriteRule ^(.*) bin/web [L]

@ -34,7 +34,7 @@ for (_, member) in members:
if not 'program' in member:
member['program'] = ['']
print " <tr>"
print " <td><a href=\"http://csclub.uwaterloo.ca/~j3parker/pub/csc/About/Members/" + member['uid'][0] + "\">" + member['cn'][0] + "</a></td>"
print " <td><a href=\"" + member['uid'][0] + "\">" + member['cn'][0] + "</a></td>"
print " <td>" + member['program'][0] + "</td>"
print " <td>" + member['uid'][0] + "</td>"
print " </tr>"

Loading…
Cancel
Save