Skip to content

Commit

Permalink
prepare for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Jun 6, 2021
1 parent 5cb5fce commit 04f8aad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion genStr
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
#
# All rights reserved.

python3 tools/genStrSession.py
exec python3 tools/genStrSession.py
3 changes: 2 additions & 1 deletion init/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ _checkDefaultVars() {
[UPSTREAM_REMOTE]="upstream"
[UPSTREAM_REPO]="https://github.com/UsergeTeam/Userge"
[LOAD_UNOFFICIAL_PLUGINS]=false
[ASSERT_SINGLE_INSTANCE]=false
[CUSTOM_PLUGINS_REPO]=""
[G_DRIVE_IS_TD]=true
[CMD_TRIGGER]="."
Expand Down Expand Up @@ -83,7 +84,7 @@ except Exception as e:
print(e)')
[[ $herokuErr ]] && quit "heroku response > $herokuErr"
fi
for var in G_DRIVE_IS_TD LOAD_UNOFFICIAL_PLUGINS; do
for var in G_DRIVE_IS_TD LOAD_UNOFFICIAL_PLUGINS ASSERT_SINGLE_INSTANCE; do
eval $var=$(tr "[:upper:]" "[:lower:]" <<< ${!var})
done
local uNameAndPass=$(grep -oP "(?<=\/\/)(.+)(?=\@cluster)" <<< $DATABASE_URL)
Expand Down
2 changes: 1 addition & 1 deletion userge/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Config:
HEROKU_APP_NAME = os.environ.get("HEROKU_APP_NAME")
G_DRIVE_IS_TD = os.environ.get("G_DRIVE_IS_TD") == "true"
LOAD_UNOFFICIAL_PLUGINS = os.environ.get("LOAD_UNOFFICIAL_PLUGINS") == "true"
ASSERT_SINGLE_INSTANCE = os.environ.get("ASSERT_SINGLE_INSTANCE", "false").lower() == "true"
ASSERT_SINGLE_INSTANCE = os.environ.get("ASSERT_SINGLE_INSTANCE") == "true"
THUMB_PATH = DOWN_PATH + "thumb_image.jpg"
TMP_PATH = "userge/plugins/temp/"
MAX_MESSAGE_LENGTH = 4096
Expand Down

0 comments on commit 04f8aad

Please sign in to comment.