-
Config directory name is updated from
semaphor
toflow-python
. This change is needed to avoid collision with Semaphor config directory. The full path of the config directory depends on the platform:- Windows: ~\AppData\Local\semaphor
- Linux: ~/.config/semaphor
- OSX: ~/Library/Application Support/semaphor
If you have a bot running with version <0.3, then you should do one of these before updating flow-python:
- If you are using flow-python along with Semaphor, then you have to update your bot code to use the existing
semaphor
directory:# e.g. on Linux import os from flow import Flow db_dir = '%s/.config/semaphor' % os.environ["HOME"] attachment_dir = os.path.join(db_dir, 'downloads') flow = Flow(db_dir=db_dir, attachment_dir=attachment_dir)
- If you are using flow-python without Semaphor, then you can:
- Stop bot execution.
- Rename the
semaphor
config dir toflow-python
config dir. - Update flow-python to 0.3.
- Start the bot again.