Skip to content

Commit e98474e

Browse files
authored
correcting the usage of string format command
1 parent ba2ce85 commit e98474e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/xdamage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def checkExt(disp):
7070
sys.exit(1)
7171
else:
7272
r = disp.damage_query_version()
73-
print('DAMAGE version %d.%d'.format(r.major_version, r.minor_version))
73+
print('DAMAGE version {}.{}'.format(r.major_version, r.minor_version))
7474

7575
def main():
7676
d = display.Display()

0 commit comments

Comments
 (0)