917 |
917 |
918 uicompiler = self.getUiCompiler() |
918 uicompiler = self.getUiCompiler() |
919 if not uicompiler: |
919 if not uicompiler: |
920 return None |
920 return None |
921 |
921 |
922 ofn, ext = os.path.splitext(fn) |
922 ofn, _ext = os.path.splitext(fn) |
923 fn = os.path.join(self.project.ppath, fn) |
923 fn = os.path.join(self.project.ppath, fn) |
924 |
924 |
925 if self.project.getProjectLanguage() == "Python3": |
925 if self.project.getProjectLanguage() == "Python3": |
926 dirname, filename = os.path.split(ofn) |
926 dirname, filename = os.path.split(ofn) |
927 self.compiledFile = os.path.join(dirname, "Ui_" + filename + ".py") |
927 self.compiledFile = os.path.join(dirname, "Ui_" + filename + ".py") |