Browse Source

oops, properly do default values

rdb 15 years ago
parent
commit
ee7e79b1a5
1 changed files with 6 additions and 3 deletions
  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.licensename = licensename
     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
 
     if currentPlatform: