From 696401bf3588b577603bf69770c0f380550e9011 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 19 Sep 2012 19:54:31 -0400 Subject: [PATCH] pg.py: make default --encoding 'utf-8' to avoid clobbering ENCODING with None. --- bin/pg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pg.py b/bin/pg.py index d035d18..a1ad271 100755 --- a/bin/pg.py +++ b/bin/pg.py @@ -55,7 +55,7 @@ if __name__ == '__main__': '-d', '--base-dir', dest='basedir', default='.', help='Base directory containing grade data') parser.add_argument( - '-e', '--encoding', dest='encoding', + '-e', '--encoding', dest='encoding', default='utf-8', help=('Override the default file encoding selection ' '(useful when running from procmail)')) parser.add_argument( -- 2.26.2