Ensured that regexps are raw strings

Ensures that there are no weird excaping issues
This commit is contained in:
A_D committed 2020-08-07 13:20:23 +02:00
1 parent e477f89664
commit cea8ac49ca
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@ class EDDN:
REPLAYPERIOD = 400 # Roughly two messages per second, accounting for send delays [ms]
REPLAYFLUSH = 20 # Update log on disk roughly every 10 seconds
TIMEOUT = 10 # requests timeout
MODULE_RE = re.compile('^Hpt_|^Int_|Armour_', re.IGNORECASE)
MODULE_RE = re.compile(r'^Hpt_|^Int_|Armour_', re.IGNORECASE)
CANONICALISE_RE = re.compile(r'\$(.+)_name;')
def __init__(self, parent):