From b91c0c87debfd25cd9c841cf255acac6c1c7f1cc Mon Sep 17 00:00:00 2001 From: Dave Pretty Date: Fri, 31 Aug 2018 23:47:10 +1000 Subject: [PATCH] Use raw strings in config example As of python 3.6 unrecognised escape sequences (in this case, the '\.' ) raise a DeprecationWarning. This is fixed by replacing them with raw strings. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34eefc0d..c697d7df 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ WEBPACK_LOADER = { 'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json'), 'POLL_INTERVAL': 0.1, 'TIMEOUT': None, - 'IGNORE': ['.+\.hot-update.js', '.+\.map'] + 'IGNORE': [r'.+\.hot-update.js', r'.+\.map'] } } ```