Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def mapp(self):
if(os.path.exists(cfgpath + "guiscrcpy.mapper.json")):
from guiscrcpy import mapper
mapper.file_check()
else:
print("guiscrcpy ~ mapper is not initialized. Initialize by running","$ guiscrcpy-mapper", "reset points by", "$ guiscrcpy-mapper -r", sep="\n")