-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.py
More file actions
21 lines (16 loc) · 727 Bytes
/
Copy pathconfig.py
File metadata and controls
21 lines (16 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import redis
from os import path
RESTAURANT_NAME = "Demo Restaurant"
TELGRAM_TOKEN = '613479419:AAE_POPUfhZ2BIl0iJuuhjLuPez9G_TjW1E'
#AUTH_FILE ="D:\GAE_telegram\gc\My First Project-9599e1b29d6a.json"
current_directory = path.abspath(path.dirname(__file__))
AUTH_FILE = path.join(current_directory, "My First Project-9599e1b29d6a.json")
# Use your gmail id and pass and
# On myaccount.google / security , Allow for less secure app
gmail_id = "srvgarg011@gmail.com"
gmail_pass = "srv123456"
r = redis.StrictRedis(host='localhost', port=6379, db=0)
#sudo service redis-server status
host="redis-13990.c1.us-east1-2.gce.cloud.redislabs.com"
port=13990
#r = redis.StrictRedis(host=host, port=port, db=0)