Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove threesdk and update docker file #611

Merged
merged 7 commits into from
Oct 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove explorer related config
  • Loading branch information
abom committed Oct 27, 2022
commit 2f3fc1bb776195b6feceba14835263901dec5c6c
16 changes: 10 additions & 6 deletions jumpscale/core/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ def get_default_config():
"debug": True,
"shell": "ptpython",
"logging": {
"default": {"enabled": True, "level": 10,},
"default": {
"enabled": True,
"level": 10,
},
"redis": {
"enabled": True,
"level": 15,
Expand All @@ -139,8 +142,9 @@ def get_default_config():
},
"factory": {"always_reload": False},
"store": "filesystem",
"threebot": {"default": "",},
"explorer": {"default_url": "https://explorer.testnet.grid.tf/explorer",},
"threebot": {
"default": "",
},
}


Expand All @@ -165,7 +169,7 @@ def update_config(data):


def get(key, default=None):
""" Retrives value from jumpscale config
"""Retrives value from jumpscale config

Arguments:
key (str): the key you wish to retrieve
Expand All @@ -176,7 +180,7 @@ def get(key, default=None):


def set(key, val):
""" Sets value in jumpscale config
"""Sets value in jumpscale config

Arguments:
key (str): the key you wish to update
Expand All @@ -188,7 +192,7 @@ def set(key, val):


def set_default(key, val):
""" Sets key to value in jumpscale config and returns
"""Sets key to value in jumpscale config and returns

Arguments:
key (str): the key you wish to update
Expand Down