Browse Source

🔨 Fix config-labels.py

Scott Lahteine 2 years ago
parent
commit
8a3ad7abcc
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      buildroot/share/scripts/config-labels.py

+ 2
- 2
buildroot/share/scripts/config-labels.py View File

@@ -130,7 +130,7 @@ def process_file(subdir: str, filename: str):
130 130
 		# Note: no need to create output dirs, as the initial copy_tree
131 131
 		# will do that.
132 132
 
133
-		print('  writing ' + outfilepath)
133
+		print('  writing ' + str(outfilepath))
134 134
 		try:
135 135
 			# Preserve unicode chars; Avoid CR-LF on Windows.
136 136
 			with outfilepath.open("w", encoding="utf-8", newline='\n') as outfile:
@@ -140,7 +140,7 @@ def process_file(subdir: str, filename: str):
140 140
 			print('Failed to write file: ' + str(e) )
141 141
 			raise Exception
142 142
 	else:
143
-		print('  no change for ' + outfilepath)
143
+		print('  no change for ' + str(outfilepath))
144 144
 
145 145
 #----------
146 146
 def main():

Loading…
Cancel
Save