Passed
Push — main ( 733392...9d7d1d )
by Jace
01:01
created

slackoff.browser.close()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nop 0
1
from pathlib import Path
2
3
from . import script
4
5
FUNCTIONS = Path(__file__).parent / "browser.applescript"
6
7
8
def close() -> bool:
9
    return script.call(FUNCTIONS, "close()")
10