removed transWhat config file (closes #23)

This commit is contained in:
Steffen Vogel 2015-12-03 13:49:44 +01:00
parent a9e97d16d5
commit 75a0f310e3
4 changed files with 0 additions and 13 deletions

View file

@ -78,13 +78,3 @@ Install required dependencies:
- **e4u**: is a simple emoji4unicode python bindings
- [**yowsup**](https://github.com/tgalal/yowsup): is a python library that enables you build application which use WhatsApp service.
### Configuration
Then create a new file called `constants.py` in the newly checked out transWhat Git repository:
BASE_PATH = "/location/to/transwhat"
TOKEN_FILE = BASE_PATH + "/logs/tokens"
MOTD_FILE = BASE_PATH + "/conf/motd"
REQUESTS_FILE = BASE_PATH + "/logs/requests"

1
bot.py
View file

@ -30,7 +30,6 @@ import time
import os
import utils
from constants import *
class Bot():
def __init__(self, session, name = "Bot"):
self.session = session

View file

@ -41,7 +41,6 @@ from buddy import BuddyList
from threading import Timer
from group import Group
from bot import Bot
from constants import *
from yowsupwrapper import YowsupApp

View file

@ -38,7 +38,6 @@ sys.path.insert(0, os.getcwd())
from Spectrum2.iochannel import IOChannel
from whatsappbackend import WhatsAppBackend
from constants import *
from yowsup.common import YowConstants
from yowsup.stacks import YowStack