md5.new->md5; new uploaded wikis;

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@157 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
pull/117/head
emijrp 13 years ago
parent 11420962f5
commit c5b6b8a866

@ -30,7 +30,7 @@ import urllib
import urllib2
def truncateFilename(other={}, filename=''):
return filename[:other['filenamelimit']] + md5.new(filename).hexdigest() + '.' + filename.split('.')[-1]
return filename[:other['filenamelimit']] + md5(filename).hexdigest() + '.' + filename.split('.')[-1]
def delay(config={}):
if config['delay'] > 0:

@ -70,3 +70,9 @@ http://www.projectbrahma.org/api.php
http://www.mastershaper.org/api.php
http://botwiki.sno.cc/w/api.php
http://wiki.openstreetmap.org/w/api.php
http://recentchangescamp.org/api.php
http://www.red-sostenible.net/api.php
http://el.opensuse.org/index.php
http://es.opensuse.org/index.php
http://hu.opensuse.org/index.php
http://esoteric.voxelperfect.net/w/index.php

Loading…
Cancel
Save