mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-21 20:03:55 +08:00
9 lines
142 B
Python
9 lines
142 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)
|