mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix DeprecationWarning: invalid escape sequence. Fixes https://github.com/GNS3/gns3-gui/issues/2670
This commit is contained in:
1 parent
4b52e9313e
commit
456ef1348b
9 files changed
+23
-23
No files matched your search
@@ -129,7 +129,7 @@ class Documentation:
|
||||
def _file_path(self, path):
|
||||
path = path.replace("compute", "")
|
||||
path = path.replace("controller", "")
|
||||
return re.sub("^v2", "", re.sub("[^a-z0-9]", "", path))
|
||||
return re.sub("^v2", "", re.sub(r"[^a-z0-9]", "", path))
|
||||
|
||||
def _write_definitions(self, f, schema):
|
||||
if "definitions" in schema:
|
||||
|
||||
Reference in new issue
Block a user