one line was missing

This commit is contained in:
Nikos Kouremenos 2005-09-07 19:47:01 +00:00
parent aa7dc3e31f
commit 3f71cbb6c5
1 changed files with 2 additions and 1 deletions

View File

@ -1230,7 +1230,8 @@ if __name__ == '__main__':
elif svn_src:
path_to_gajim_script = cwd + '/../scripts/gajim_sm_script'
os.remove(path_to_gajim_script)
if os.path.exists(path_to_gajim_script):
os.remove(path_to_gajim_script)
f = open(path_to_gajim_script, 'w')
script += '\nexec python -OOt gajim.py $0 $@\n'
f.write(script)