Skip to content

Commit 7026ddd

Browse files
committed
Fix TypeError. Resolves #91
1 parent f79f28b commit 7026ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fbs/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_icons():
4545
name = splitext(basename(icon_path))[0]
4646
match = re.match('(\d+)(?:@(\d+)x)?', name)
4747
if not match:
48-
raise FbsError('Invalid icon name: ' % icon_path)
48+
raise FbsError('Invalid icon name: ' + icon_path)
4949
size, scale = int(match.group(1)), int(match.group(2) or '1')
5050
result[(size, scale)] = icon_path
5151
return [(size, scale, path) for (size, scale), path in result.items()]

0 commit comments

Comments
 (0)