Selaa lähdekoodia

oops, properly do default values

rdb 15 vuotta sitten
vanhempi
sitoutus
ee7e79b1a5
1 muutettua tiedostoa jossa 6 lisäystä ja 3 poistoa
  1. 6 3
      direct/src/p3d/pdeploy.py

+ 6 - 3
direct/src/p3d/pdeploy.py

@@ -248,9 +248,12 @@ elif deploy_mode == 'installer':
     i = Installer(appFilename, shortname, fullname, version, tokens = tokens)
     i = Installer(appFilename, shortname, fullname, version, tokens = tokens)
     i.licensename = licensename
     i.licensename = licensename
     i.licensefile = licensefile
     i.licensefile = licensefile
-    i.authorid = authorid
-    i.authorname = authorname
-    i.authoremail = authoremail
+    if authorid:
+        i.authorid = authorid
+    if authorname:
+        i.authorname = authorname
+    if authoremail:
+        i.authoremail = authoremail
     i.includeRequires = includeRequires
     i.includeRequires = includeRequires
 
 
     if currentPlatform:
     if currentPlatform: