mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 15:53:57 +08:00
10 lines
143 B
Python
10 lines
143 B
Python
|
|
import os
|
||
|
|
from nose.tools import nottest
|
||
|
|
|
||
|
|
def phone_only(x):
|
||
|
|
if os.path.isfile("/init.qcom.rc"):
|
||
|
|
return x
|
||
|
|
else:
|
||
|
|
return nottest(x)
|
||
|
|
|