Skip to content

Commit ecdd154

Browse files
committed
fixed tempfile calls for py3
1 parent 6e42bcf commit ecdd154

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ajenti-dev-multitool

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ include requirements.txt
232232

233233
if 'pre_build' in info:
234234
logging.info(' -> running pre-build script')
235-
f = tempfile.NamedTemporaryFile(delete=False)
235+
f = tempfile.NamedTemporaryFile(delete=False, mode='w')
236236
try:
237237
f.write(info['pre_build'])
238238
f.close()

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='ajenti-dev-multitool',
7-
version='1.1.12',
7+
version='1.1.13',
88
python_requires='>=3',
99
install_requires=[
1010
'coloredlogs',

0 commit comments

Comments
 (0)