#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os


if os.name == 'nt':
    home = os.environ['userprofile']
    windows = True
else:
    home = os.environ['home']
    windows = False
default_configfile = os.path.join(home, 'pyshanb.conf')

@@ -99,19 +99,19 @@
 on%5B'
-userprofile
+USERPROFILE
 '%5D%0A 
@@ -157,20 +157,20 @@
 nviron%5B'
-home
+HOME
 '%5D%0A    w

修复环境变量名小写错误.