Skip to content

Commit

Permalink
flake8 and black
Browse files Browse the repository at this point in the history
  • Loading branch information
ofrin-zen committed Sep 16, 2024
1 parent 4fdd7a7 commit 1ec536e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/powerpwn/copilot_studio/modules/deep_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def get_bot_name_from_url(bot_url: str, default_solution_prefix: str):
re_match = re.search(r"/bots/(.*?)/canvas", bot_url)
if re_match:
bot_name = re_match.group(1)
bot_name = bot_name[len(default_solution_prefix) + 1 :] # "<prefix>_<bot name>"
bot_name = bot_name[len(default_solution_prefix) + 1 :] # "<prefix>_<bot name>"
bot_name = " ".join(camel_case_split(bot_name))
return bot_name
return ""
Expand Down

0 comments on commit 1ec536e

Please sign in to comment.