Skip to content

Commit 6a1b55f

Browse files
committed
make private service work (but only if there is no public folder)
1 parent 6bd5837 commit 6a1b55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def make_package(args):
252252

253253
# Figure out if application has service part
254254
service = False
255-
directory = args.dir
255+
directory = args.dir if public_version else args.private
256256
if directory:
257257
service_main = join(realpath(directory), 'service', 'main.py')
258258
if os.path.exists(service_main) or os.path.exists(service_main + 'o'):

0 commit comments

Comments
 (0)