mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Allow non-ASCII characters for DL project names.
CURA-8395
This commit is contained in:
parent
c2f2304512
commit
f9557295fa
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ class DigitalFactoryApiClient:
|
|||
:param on_error: The function to be called if anything goes wrong.
|
||||
"""
|
||||
|
||||
display_name = re.sub(r"[^a-zA-Z0-9- ./™®ö+']", " ", project_name)
|
||||
display_name = re.sub(r"^[\\w\\-\\. ()]+\\.[a-zA-Z0-9]+$", " ", project_name)
|
||||
Logger.log("i", "Attempt to create new DF project '{}'.".format(display_name))
|
||||
|
||||
url = "{}/projects".format(self.CURA_API_ROOT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue