fix error on os
This commit is contained in:
parent
9132f4f03f
commit
ce421523f6
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
from rocketchat_API.rocketchat import RocketChat
|
from rocketchat_API.rocketchat import RocketChat
|
||||||
|
import os
|
||||||
|
|
||||||
def Connection():
|
def Connection():
|
||||||
return RocketChat(None, None, auth_token= os.environ['ROCKETCHAT_AUTH'], user_id= os.environ['ROCKETCHAT_USERID'], server_url=os.environ['ROCKETCHAT_SERVER'])
|
return RocketChat(None, None, auth_token= os.environ['ROCKETCHAT_AUTH'], user_id= os.environ['ROCKETCHAT_USERID'], server_url=os.environ['ROCKETCHAT_SERVER'])
|
||||||
|
|
Loading…
Reference in a new issue