From: W. Trevor King Date: Wed, 19 Sep 2012 23:54:31 +0000 (-0400) Subject: pg.py: make default --encoding 'utf-8' to avoid clobbering ENCODING with None. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=696401bf3588b577603bf69770c0f380550e9011;p=pygrader.git pg.py: make default --encoding 'utf-8' to avoid clobbering ENCODING with None. --- 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(