Skip to content

Commit 517c768

Browse files
committed
fix spelling error
1 parent 5dd240c commit 517c768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export class PythonShell extends EventEmitter{
347347
* @returns {PythonShell} The same instance for chaining calls
348348
*/
349349
send(message:string|Object) {
350-
if (!this.stdin) throw new Error("stdin not open for writting");
350+
if (!this.stdin) throw new Error("stdin not open for writing");
351351
let data = this.formatter ? this.formatter(message) : message;
352352
if (this.mode !== 'binary') data += newline;
353353
this.stdin.write(data);

0 commit comments

Comments
 (0)