Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixup b6e2d1 by only unlinking file if it exists

  • Loading branch information...
commit 7a2b9280d89fc6ef402fb8894bbc95a6720ad60f 1 parent ce74a64
@springmeyer springmeyer authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  cascadenik-compile.py
View
3  cascadenik-compile.py
@@ -44,7 +44,8 @@ def main(src_file, dest_file, **kwargs):
f.close()
# manually unlinking seems to be required on windows
- os.unlink(dest_file)
+ if os.path.exists(dest_file):
+ os.unlink(dest_file)
os.rename(tmp_file, dest_file)
return 0
Please sign in to comment.
Something went wrong with that request. Please try again.