Skip to content

Commit 0a9a46d

Browse files
committed
Update ident.py
1 parent be3aab7 commit 0a9a46d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sflock/ident.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def vbe_jse(f):
554554
if b"#@~^" in f.contents[:100]:
555555
data = vbe_decode_file("", f.contents)
556556
if data:
557-
if re.findall(rb"\s?Dim\s", data, re.I) or re.findall(b"\s\x00D\x00i\x00m\x00\s", data, re.I):
557+
if re.findall(rb"\s?Dim\s", data, re.I) or re.findall(rb"\s\x00D\x00i\x00m\x00\s", data, re.I):
558558
return "vbs"
559559
else:
560560
return "js"

0 commit comments

Comments
 (0)