diff --git a/person.py b/person.py index 34c90bf7..4d362c69 100644 --- a/person.py +++ b/person.py @@ -375,7 +375,10 @@ def createCapabilitiesInbox(baseDir: str,nickname: str,domain: str,port: int, \ def personUpgradeActor(personJson: {},handle: str,filename: str) -> None: """Alter the actor to add any new properties - """ + """ + if not os.path.isfile(filename): + print('WARN: actor file not found '+filename) + return if not personJson: personJson=loadJson(filename) if not personJson.get('nomadicLocations'):