Commits

Shinya Okano committed fd7f942

fixes the home directory problem on Windows.

  • Participants
  • Parent commits e9b6780
  • Branches tokibito

Comments (0)

Files changed (1)

File aodag/scaffold/commands.py

 
 ENTRY_POINT = "aodag.scaffold.scaffold"
 
-user_home = os.environ['HOME']
+user_home = os.path.expanduser('~')
 default_scaffolds_directory = os.path.join(user_home, '.scaffolds')
 
 tmpl_dir_pattern = re.compile(r"^\+(?P<name>\w+)\+$")