Skip to content

Commit

Permalink
fix env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahesh0253 committed Sep 13, 2020
1 parent f80b591 commit 6b8e48c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions info.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
CHANNELS = [int(channel) if re.search('^-100\d+$', channel) else channel for channel in environ['CHANNELS'].split()]

# MongoDB information
DATABASE_URI = ['DATABASE_URI']
DATABASE_NAME = ['DATABASE_NAME']
DATABASE_URI = environ['DATABASE_URI']
DATABASE_NAME = environ['DATABASE_NAME']
COLLECTION_NAME = environ.get('COLLECTION_NAME', 'Telegram_files')

# Messages
Expand Down

0 comments on commit 6b8e48c

Please sign in to comment.