Skip to content

Commit 9b4f9d3

Browse files
committed
Always create rnnslu/ inside code/, not in cwd
1 parent bf58692 commit 9b4f9d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: code/rnnslu.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ def main(param=None):
269269
'savemodel': False}
270270
print param
271271

272-
folder = os.path.basename(__file__).split('.')[0]
272+
folder_name = os.path.basename(__file__).split('.')[0]
273+
folder = os.path.join(os.path.dirname(__file__), folder_name)
273274
if not os.path.exists(folder):
274275
os.mkdir(folder)
275276

0 commit comments

Comments
 (0)