flake8 + fedora_updates: address invalid escape sequences
@@ -42,8 +42,8 @@ class Py3status:
format = 'DNF: {updates}'
def post_config_hook(self):
- self._reg_ex_sec = re.compile('\d+(?=\s+Security)')
- self._reg_ex_pkg = re.compile(b'^\S+\.', re.M)
+ self._reg_ex_sec = re.compile(r'\d+(?=\s+Security)')
+ self._reg_ex_pkg = re.compile(r'^\S+\.', re.M)
self._first = True
self._updates = 0
self._security_notice = False
