Skip to content

Commit aed633b

Browse files
committed
Changed to put all decorations on one import
1 parent d466bc2 commit aed633b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/editor/extended_python_generator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ export class OpModeDetails {
4444
imports() : string{
4545
let code = '';
4646
if (this.enabled){
47-
code += 'from blocks_base_classes import ' + this.type + '\n';
47+
code += 'from blocks_base_classes import ' + this.type;
4848
if (this.name){
49-
code += 'from blocks_base_classes import Name\n';
49+
code += ', Name';
5050
}
5151
if (this.group){
52-
code += 'from blocks_base_classes import Group\n';
52+
code += ', Group';
5353
}
5454
}
5555

0 commit comments

Comments
 (0)