* src/ViewManager.py: fix crash during backup on windows
svn: r8112
This commit is contained in:
@ -511,6 +511,8 @@ class ViewManager:
|
||||
|
||||
# check to see if the old file exists
|
||||
if os.path.exists(backup):
|
||||
if os.path.exists(backup + ".old"):
|
||||
os.remove(backup + ".old")
|
||||
os.rename(backup,backup + ".old")
|
||||
|
||||
try:
|
||||
|
Reference in New Issue
Block a user