The main in Style_Paste_main.py not run, just remove it, the plugin will run :D
...............................
QtWidgets.QMessageBox.information(self.vindu,
'Unable to open file', file.errorString())
os.chdir(str(self.path))
import sys
#app = QtWidgets.QApplication.instance()
#if...