diff options
author | Kiran <75929997+Kiran1689@users.noreply.github.com> | 2023-11-16 14:53:25 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 10:23:25 +0100 |
commit | 22fb0f7bbf1f4c7e87b0781867f8d45dab34025b (patch) | |
tree | c052ed1085056b00dd5e99f252081a53f8437eb1 /cli.py | |
parent | Add fridge, project management labels to do-not-stale list for issues (diff) | |
download | Auto-GPT-22fb0f7bbf1f4c7e87b0781867f8d45dab34025b.tar.gz Auto-GPT-22fb0f7bbf1f4c7e87b0781867f8d45dab34025b.tar.bz2 Auto-GPT-22fb0f7bbf1f4c7e87b0781867f8d45dab34025b.zip |
fix(cli): resolve warning caused by \w in regular string (#6236)
Diffstat (limited to 'cli.py')
-rw-r--r-- | cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -219,7 +219,7 @@ def create(agent_name): import re import shutil - if not re.match("\w*$", agent_name): + if not re.match(r"\w*$", agent_name): click.echo( click.style( f"😞 Agent name '{agent_name}' is not valid. It should not contain spaces or special characters other than -_", |