Skip to content

Commit 5ee83c5

Browse files
committed
remove unnecessary magpie_url in permission config update using URL input
1 parent b227444 commit 5ee83c5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

magpie/register.py

-1
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,6 @@ def _parse_resource_path(permission_config_entry, # type: PermissionConfigItem
776776

777777
res_path = None
778778
if _use_request(cookies_or_session):
779-
magpie_url = magpie_url or get_magpie_url()
780779
res_path = magpie_url + ServiceResourcesAPI.path.format(service_name=svc_name)
781780
res_resp = requests.get(res_path, cookies=cookies_or_session, timeout=5)
782781
res_dict = get_json(res_resp)[svc_name] # type: JSON

0 commit comments

Comments
 (0)