2
0
Эх сурвалжийг харах

[python] Fix extern import line generation

Dan Korostelev 11 жил өмнө
parent
commit
f5e1bc0846
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      genpy.ml

+ 1 - 1
genpy.ml

@@ -1950,7 +1950,7 @@ module Generator = struct
 				spr_line ctx import;
 				spr_line ctx "except:\n\tpass"
 			end else
-				spr ctx import
+				spr_line ctx import
 		end
 
 	let gen_class ctx c =