mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-30 16:18:54 +00:00
43b1612dfe
Not every system uses 'utf-8' as a default encoding for opening files in Python. Before you say that there must be a way to set default encoding in one line, no, there is not. At least, I didn't found a way to do this.
19 lines
431 B
Python
Executable File
19 lines
431 B
Python
Executable File
#!/usr/bin/env python3
|
|
# Mobile Verification Toolkit (MVT)
|
|
# Copyright (c) 2021 The MVT Project Authors.
|
|
# Use of this software is governed by the MVT License 1.1 that can be found at
|
|
# https://license.mvt.re/1.1/
|
|
|
|
import os
|
|
import sys
|
|
import importlib
|
|
|
|
importlib.reload(sys)
|
|
print(sys.getdefaultencoding())
|
|
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
|
|
from mvt import android
|
|
|
|
android.cli()
|