mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 03:27:31 +08:00
fix bug
This commit is contained in:
+3
-1
@@ -53,7 +53,9 @@ class ObjectUtils:
|
|||||||
if not line:
|
if not line:
|
||||||
continue
|
continue
|
||||||
# 处理"""单行注释
|
# 处理"""单行注释
|
||||||
if line.startswith(('"""', "'''")) and line.endswith(('"""', "'''")):
|
if (line.startswith(('"""', "'''"))
|
||||||
|
and line.endswith(('"""', "'''"))
|
||||||
|
and len(line) > 3):
|
||||||
continue
|
continue
|
||||||
# 处理"""多行注释
|
# 处理"""多行注释
|
||||||
if line.startswith(('"""', "'''")):
|
if line.startswith(('"""', "'''")):
|
||||||
|
|||||||
Reference in New Issue
Block a user