chiark / gitweb /
re-word a little
[irc.git] / karmaconvert.py
1 #!/usr/bin/env python2
2
3 import cPickle,sys
4
5 class Karma:
6     def __init__(self):
7         self.dict = {}
8     
9 f=open(sys.argv[1],"r")
10 karma=cPickle.load(f)
11 f.close()
12
13 f=open(sys.argv[2],"w")
14 cPickle.dump(karma.dict,f)
15 f.close()