develop
asamoukin 16 years ago
parent eb217bbc2e
commit 214a7b261c

@ -2020,14 +2020,14 @@ class profile(_file, _terms):
flagForce = False
# Если есть параметр mirror
if objHeadNew.params.has_key("mirror"):
if not os.path.exists(oldFile):
return False
if objHeadNew.params.has_key("link"):
profileFile = objHeadNew.params['link']
if not os.path.exists(profileFile):
if os.path.exists(oldFile):
os.remove(oldFile)
return False
elif not os.path.exists(oldFile):
return False
# Если есть указатель на файл профиля (link)
if objHeadNew.params.has_key("link"):
profileFile = objHeadNew.params['link']

Loading…
Cancel
Save