Skip to content

Commit

Permalink
Use raw string to avoid SyntaxWarning in Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Feb 1, 2024
1 parent f054810 commit 148f96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omero/plugins/import.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def _userdir_jars(self, parentonly=False):
return None, omero_java_txt

def download_omero_java(self, version_or_uri):
if re.match("^\w+://", version_or_uri):
if re.match(r"^\w+://", version_or_uri):
omero_java_zip = version_or_uri
else:
omero_java_zip = OMERO_JAVA_ZIP.format(version=version_or_uri)
Expand Down

0 comments on commit 148f96f

Please sign in to comment.