Created
October 10, 2015 22:13
-
-
Save ScOut3R/5d1f935a6c1e0e565e41 to your computer and use it in GitHub Desktop.
Mailman 2.1.16 UTF-8 conversion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import pickle | |
import sys | |
import paths | |
file = sys.argv[1] | |
config = pickle.load( open( file, "rb" ) ) | |
config['description'] = config['description'].decode("latin-1") | |
pickle.dump( config, open( file, "wb" )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment