Skip to content

Commit 6c2ba51

Browse files
committed
bug fix in rope project dir #220
1 parent ff59786 commit 6c2ba51

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pythonFiles/refactor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import rope.base.taskhandle
1616

1717
WORKSPACE_ROOT = sys.argv[1]
18-
ROPE_PROJECT_FOLDER = sys.argv[2]
18+
ROPE_PROJECT_FOLDER = '.vscode/.ropeproject'
1919

2020

2121
class RefactorProgress():

src/client/refactor/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class RefactorProxy extends vscode.Disposable {
108108
private initialize(pythonPath: string): Promise<string> {
109109
return new Promise<any>((resolve, reject) => {
110110
this._initializeReject = reject;
111-
this._process = child_process.spawn(pythonPath, ['-u', 'refactor.py', this.workspaceRoot, path.join(this.workspaceRoot, '.vscode', 'rope')],
111+
this._process = child_process.spawn(pythonPath, ['-u', 'refactor.py', this.workspaceRoot],
112112
{
113113
cwd: path.join(this._extensionDir, 'pythonFiles')
114114
});

0 commit comments

Comments
 (0)