Skip to content

Commit dd9c489

Browse files
committed
fixed usage of pathlib.Path(mp).touch()
1 parent bb5bc19 commit dd9c489

File tree

1 file changed

+1
-1
lines changed
  • graalpython/lib-graalpython/modules/standalone

1 file changed

+1
-1
lines changed

graalpython/lib-graalpython/modules/standalone/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def get_download_dir(parsed_args):
152152
try:
153153
if not os.path.exists(mp):
154154
os.mkdir(mp)
155-
Pathlib(mp).touch() # Ensure if we can write to that location
155+
pathlib.Path(mp).touch() # Ensure if we can write to that location
156156
parsed_args.keep_temp = True # Keep this location
157157
return mp
158158
except Exception as e:

0 commit comments

Comments
 (0)