Skip to content
This repository was archived by the owner on May 21, 2018. It is now read-only.

Commit

Permalink
Merge pull request #3 from wenwei-dev/master
Browse files Browse the repository at this point in the history
Fix issue #2
  • Loading branch information
wenwei-dev committed May 16, 2016
2 parents d55b3f5 + abfffb6 commit 6080d82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chatbot/src/server/character.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
CWD = os.path.dirname(os.path.realpath(__file__))
GIT_DIR = os.path.expanduser('~/.hr/aiml/character_dev')
WORKING_BRANCH = 'auto_commit_only'
os.system('cd {} && git checkout {}'.format(GIT_DIR, WORKING_BRANCH))
COMMENT = 'Update character'
if os.path.isdir(GIT_DIR):
os.system('cd {} && git checkout {}'.format(GIT_DIR, WORKING_BRANCH))

class Character(object):
def __init__(self, id, name, level=99):
Expand Down

0 comments on commit 6080d82

Please sign in to comment.