mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-07 18:29:28 +00:00
Add check to determine if sub_value is rand-d, always. (#612)
This commit is contained in:
@@ -106,7 +106,10 @@ class AppConfig:
|
||||
|
||||
# missing nested values
|
||||
for sub_key, sub_value in value.items():
|
||||
if sub_key not in redis_config[key].keys():
|
||||
if (
|
||||
sub_key not in redis_config[key].keys()
|
||||
or sub_value == "rand-d"
|
||||
):
|
||||
if sub_value == "rand-d":
|
||||
sub_value = self._build_rand_daily()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user