|
|
@ -18,11 +18,13 @@ GNU General Public License for more details. |
|
|
|
You should have received a copy of the GNU General Public License |
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
""" |
|
|
|
import logging; logging.info("import {}".format(__file__)) |
|
|
|
|
|
|
|
import logging; logger = logging.getLogger(__name__); logger.info("import") |
|
|
|
|
|
|
|
#Standard Library Modules |
|
|
|
import pathlib |
|
|
|
import os |
|
|
|
import sys |
|
|
|
|
|
|
|
|
|
|
|
#Third Party Modules |
|
|
@ -45,6 +47,15 @@ from .verticalpiano import VerticalPiano |
|
|
|
from .horizontalpiano import HorizontalPiano |
|
|
|
from .chooseDownloadDirectory import ChooseDownloadDirectory |
|
|
|
|
|
|
|
#Template Modules |
|
|
|
from template.calfbox import cbox |
|
|
|
|
|
|
|
if "fake" in str(cbox): |
|
|
|
logger.error("--mute is not supported in Tembro. We are sorry for the inconvenience.") |
|
|
|
#We can quit here safely. Neither (fake) nsm nor anything related to audio is started. |
|
|
|
sys.exit() |
|
|
|
|
|
|
|
|
|
|
|
class MainWindow(TemplateMainWindow): |
|
|
|
|
|
|
|
def __init__(self): |
|
|
|