Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyanhui committed Nov 1, 2013
1 parent acc7ac1 commit 5ae0874
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion FileHeader.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# @Date: 2013-10-28 13:39:48
# @Email: [email protected]
# @Last modified by: lime
# @Last Modified time: 2013-11-01 21:08:10
# @Last Modified time: 2013-11-01 21:13:30

import os
import sys
Expand Down Expand Up @@ -48,6 +48,8 @@ def plugin_loaded():

sys.path.insert(0, PLUGIN_PATH)

shutil.rmtree(PLUGIN_PATH)

if not os.path.exists(PLUGIN_PATH):
os.mkdir(PLUGIN_PATH)

Expand Down

0 comments on commit 5ae0874

Please sign in to comment.