diff --git a/INSTALL.md b/INSTALL.md index f4006a2..0b07bdb 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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" diff --git a/bot.py b/bot.py index 6a43e2d..3c17546 100644 --- a/bot.py +++ b/bot.py @@ -30,7 +30,6 @@ import time import os import utils -from constants import * class Bot(): def __init__(self, session, name = "Bot"): self.session = session diff --git a/session.py b/session.py index ac87258..c9bc657 100644 --- a/session.py +++ b/session.py @@ -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 diff --git a/transwhat.py b/transwhat.py index 23fe84a..e835e55 100755 --- a/transwhat.py +++ b/transwhat.py @@ -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