diff --git a/pio-tools/solidify-from-url.py b/pio-tools/solidify-from-url.py index 5a8d68ad6..c5c2fd4bf 100644 --- a/pio-tools/solidify-from-url.py +++ b/pio-tools/solidify-from-url.py @@ -53,7 +53,7 @@ def addEntryToModtab(source): is_module = False - pattern = (r'''(?<=module\()[^"].*''') # module?? + pattern = (r'''(?<=module\([\"\']).*[\"\']''') # module?? result = re.findall(pattern,code) if len(result) > 0: class_name = result[0].replace("'","").replace('"','').replace(")","")