Skip to content

Commit 5849e0d

Browse files
committed
Fix sys.argv in interactive mode
1 parent 2fb1e85 commit 5849e0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ fn create_settings(matches: &ArgMatches) -> PySettings {
248248
.chain(cmd.skip(1).map(ToOwned::to_owned))
249249
.collect()
250250
} else {
251-
vec![]
251+
vec!["".to_owned()]
252252
};
253253

254254
settings.argv = argv;

0 commit comments

Comments
 (0)