Cleanup: style, use raw strings

This commit is contained in:
2018-09-21 08:15:46 +10:00
parent 87ad27ca89
commit 0a968510bf
3 changed files with 17 additions and 15 deletions

View File

@@ -130,7 +130,7 @@ def dice_icon_name(
import re
# Search for eg: DEF_ICON(BRUSH_NUDGE) --> BRUSH_NUDGE
re_icon = re.compile('^\s*DEF_ICON\(\s*([A-Za-z0-9_]+)\s*\).*$')
re_icon = re.compile(r'^\s*DEF_ICON\(\s*([A-Za-z0-9_]+)\s*\).*$')
ui_icons_h = os.path.join(SOURCE_DIR, "source", "blender", "editors", "include", "UI_icons.h")
with open(ui_icons_h, 'r', encoding="utf-8") as f: