aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/captcha.py
diff options
context:
space:
mode:
Diffstat (limited to 'jm2l/captcha.py')
-rw-r--r--jm2l/captcha.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jm2l/captcha.py b/jm2l/captcha.py
index 1069d98..bebc8bb 100644
--- a/jm2l/captcha.py
+++ b/jm2l/captcha.py
@@ -119,7 +119,7 @@ def DoCaptcha(request):
# use a truetype font
#font = ImageFont.truetype("/var/lib/defoma/gs.d/dirs/fonts/LiberationMono-Regular.ttf", 40)
# use it
- font = ImageFont.truetype("jm2l/static/LiberationMono-Regular.ttf",40)
+ font = ImageFont.truetype("jm2l/static/fonts/LiberationMono-Regular.ttf",40)
# Re-position
# Choose a word for captcha
text = random.choice(TabMots)