Spaces:
Sleeping
Sleeping
Jimin Park
commited on
Commit
·
eca7abc
1
Parent(s):
6d09e09
rm some files
Browse files
util/app_training_df_getter.py
CHANGED
@@ -448,7 +448,7 @@ def create_app_user_training_df(url):
|
|
448 |
# Extract region and username
|
449 |
match = re.search(r"/summoners/(\w+)/([\w\-]+)$", url)
|
450 |
if not match:
|
451 |
-
raise ValueError(f"Could not parse region and username from URL: {url}")
|
452 |
|
453 |
region = match.group(1)
|
454 |
username = match.group(2)
|
|
|
448 |
# Extract region and username
|
449 |
match = re.search(r"/summoners/(\w+)/([\w\-]+)$", url)
|
450 |
if not match:
|
451 |
+
raise ValueError(f"Could not parse region and username from URL: {url}. \n Type(url): {type(url)}. ")
|
452 |
|
453 |
region = match.group(1)
|
454 |
username = match.group(2)
|