881 |
881 |
882 uicompiler = self.getUiCompiler() |
882 uicompiler = self.getUiCompiler() |
883 if not uicompiler: |
883 if not uicompiler: |
884 return None |
884 return None |
885 |
885 |
886 ofn, ext = os.path.splitext(fn) |
886 ofn, _ext = os.path.splitext(fn) |
887 fn = os.path.join(self.project.ppath, fn) |
887 fn = os.path.join(self.project.ppath, fn) |
888 |
888 |
889 if self.project.getProjectLanguage() == "Python3": |
889 if self.project.getProjectLanguage() == "Python3": |
890 dirname, filename = os.path.split(ofn) |
890 dirname, filename = os.path.split(ofn) |
891 self.compiledFile = os.path.join(dirname, "Ui_" + filename + ".py") |
891 self.compiledFile = os.path.join(dirname, "Ui_" + filename + ".py") |