Show the scroll area only where there are one or more used plugins.
[bertos.git] / wizard / bertos.py
index 393fc561d95b5062cdabba88947cee84e12f41b7..f178a0a04174db2adf2ee7515afdcc55dd212952 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python
 # encoding: utf-8
 #
 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
@@ -57,7 +57,7 @@ def main():
     app.settings = QSettings("Develer", "Bertos Configurator")
     app.project = BProject.BProject()
     # Development utility lines, to be removed for production
-    if newer("bertos.qrc", "bertos.rcc"):
+    if not (hasattr(sys, "frozen") and sys.frozen) and newer("bertos.qrc", "bertos.rcc"):
         os.system("rcc -binary bertos.qrc -o bertos.rcc")
     QResource.registerResource("bertos.rcc")
     if "--create" in sys.argv and "--edit" not in sys.argv: