Skip to content

Commit

Permalink
APPLICATION_IDが不正な環境変数となるバグの対処
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuya-ki committed Jul 23, 2023
1 parent 9a1314b commit dd7b30d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cogs/modules/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def split_guild_env(str):

# 環境変数をファイルから読み込む
load_dotenv(verbose=True)
print(os.environ.pop('APPLICATION_ID', None))
dotenv_path = join(dirname(__file__), 'files' + os.sep + '.env')
load_dotenv(dotenv_path)

Expand Down

0 comments on commit dd7b30d

Please sign in to comment.