Skip to content

Commit b46fb97

Browse files
committed
make cleaner args check
1 parent cb4b525 commit b46fb97

File tree

1 file changed

+1
-1
lines changed
  • pythonforandroid/bootstraps/common/build

1 file changed

+1
-1
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def make_package(args):
299299
# Add extra environment variable file into tar-able directory:
300300
env_vars_tarpath = tempfile.mkdtemp(prefix="p4a-extra-env-")
301301
with open(os.path.join(env_vars_tarpath, "p4a_env_vars.txt"), "w") as f:
302-
if hasattr(args, "window"):
302+
if hasattr(args, 'window'):
303303
f.write("P4A_IS_WINDOWED=" + str(args.window) + "\n")
304304
if hasattr(args, "orientation"):
305305
f.write("P4A_ORIENTATION=" + str(args.orientation) + "\n")

0 commit comments

Comments
 (0)