added create.py in db
This commit is contained in:
@@ -23,7 +23,6 @@ class ConfigError(Exception):
|
||||
|
||||
|
||||
_teletoken = getenv('LTLNOTIFIER_TELETOKEN')
|
||||
print(_teletoken[9])
|
||||
# Check api token
|
||||
if not _teletoken:
|
||||
raise ConfigError('virtual environment LTLNOTIFIER_TELETOKEN not set.')
|
||||
@@ -31,7 +30,6 @@ if len(_teletoken) != 45 or _teletoken[9] != ':' or not _teletoken[:9].isdigit()
|
||||
raise ConfigError('virtual environment LTLNOTIFIER_TELETOKEN incorrect.')
|
||||
|
||||
_bot_owner = getenv('LTLNOTIFIER_BOT_OWNER')
|
||||
print(_bot_owner)
|
||||
# Check bot owner
|
||||
if not _bot_owner:
|
||||
raise ConfigError('virtual environment LTLNOTIFIER_BOT_OWNER not set.')
|
||||
|
||||
Reference in New Issue
Block a user