ED_Tools initial commit.

This commit is contained in:
Anna Rose Wiggins 2015-10-25 20:51:48 -04:00
commit ee49936330
8 changed files with 471 additions and 0 deletions

19
config.py Normal file
View file

@ -0,0 +1,19 @@
# This class exists to satisfy dependencies in companion.py.
# It's mostly a stub; I don't want to pull EDMC's config.py
# without first understanding more of its semantics.
# For username/password settings, see Readme.md
from os import path
import os
class Config():
app_dir = path.join(path.expanduser('~'), '.ed_tool/')
def __init__(self):
try:
os.mkdir(self.app_dir)
except OSError:
pass # Ignore existing directory
config = Config()