File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,18 +53,18 @@ def install_playground_app(device_info, platform):
53
53
# noinspection PyUnresolvedReferences
54
54
@staticmethod
55
55
def get_url (output ):
56
+ # pylint: disable=no-member
57
+ # pylint: disable=no-name-in-module
58
+ # pylint: disable=import-error
56
59
"""
57
60
Get preview URL form tns log.
58
61
This is the url you need to load in Preview app in order to see and sync your project.
59
62
"""
60
63
url = re .findall (r"(nsplay[^\s']+)" , output )[0 ]
61
64
if Settings .PYTHON_VERSION < 3 :
62
65
import urllib
63
- # pylint: disable=no-member
64
66
url = urllib .unquote (url )
65
67
else :
66
- # pylint: disable=no-name-in-module
67
- # pylint: disable=import-error
68
68
from urllib .parse import unquote
69
69
url = unquote (url , 'UTF-8' )
70
70
url = url .replace (r'?' , r'\?' )
You can’t perform that action at this time.
0 commit comments