diff options
author | Christopher Harvey <chris@basementcode.com> | 2010-08-04 21:00:09 -0400 |
---|---|---|
committer | Christopher Harvey <chris@basementcode.com> | 2010-08-04 21:00:09 -0400 |
commit | 03d140dc0dec4db0d6e061df69352ce2b8b0cf71 (patch) | |
tree | 37fe914ceb792a20d694cc4d12c1c39296be926a | |
parent | Removed straggling obsolite add row code. (diff) | |
download | ventoo-03d140dc0dec4db0d6e061df69352ce2b8b0cf71.tar.gz ventoo-03d140dc0dec4db0d6e061df69352ce2b8b0cf71.tar.bz2 ventoo-03d140dc0dec4db0d6e061df69352ce2b8b0cf71.zip |
Fixed bug where stale input validation scripts weren't being reloaded.
-rw-r--r-- | src/ventoo/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ventoo/main.py b/src/ventoo/main.py index b1c8454..0706636 100644 --- a/src/ventoo/main.py +++ b/src/ventoo/main.py @@ -182,8 +182,11 @@ class MainWindow(gtk.Window): valScript = self.currentModule.getValidationScript(xmlPath) if valScript != None: #There is a script that can validate this input. import and run it. + os.remove("/tmp/thisCheck.py") + os.remove("/tmp/thisCheck.pyc") shutil.copyfile(valScript, '/tmp/thisCheck.py') import thisCheck as validate + reload(validate) valid = validate.validate(text) if valid: self.edit_tv.setValid(thisIter) |