diff options
author | 2010-09-12 23:18:29 +0300 | |
---|---|---|
committer | 2010-09-12 23:18:29 +0300 | |
commit | 700a153bda9138adf418ae978fc1dd449d8e11f4 (patch) | |
tree | 0d77ce8cfcec0e85f29959b2c80542809066ca49 /scripts/gravatar.py | |
parent | remove fauli from universe (diff) | |
download | planet-700a153bda9138adf418ae978fc1dd449d8e11f4.tar.gz planet-700a153bda9138adf418ae978fc1dd449d8e11f4.tar.bz2 planet-700a153bda9138adf418ae978fc1dd449d8e11f4.zip |
svnignore->gitignore
Add media dir with static data taken from the server
Add scripts dir with the cron job and the python scripts
Correct the templates dir
Diffstat (limited to 'scripts/gravatar.py')
-rw-r--r-- | scripts/gravatar.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/gravatar.py b/scripts/gravatar.py new file mode 100644 index 00000000..940be1fa --- /dev/null +++ b/scripts/gravatar.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python + +import hashlib +import sys + +h = hashlib.md5() +h.update(sys.argv[1]) +print h.hexdigest() |