vhermecz / key-mon

Automatically exported from code.google.com/p/key-mon
Apache License 2.0
0 stars 0 forks source link

crash when using key-mon -s option #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start key-mon using "key-mon -s"
2. application crashes with following error:

[x@arch ~]$ key-mon -s
Traceback (most recent call last):
  File "/usr/bin/key-mon", line 3, in <module>
    km.main()
  File "/usr/lib/python2.7/site-packages/keymon/key_mon.py", line 1007, in main
    keymon = KeyMon(opts)
  File "/usr/lib/python2.7/site-packages/keymon/key_mon.py", line 118, in __init__
    self.name_fnames = self.create_names_to_fnames()
  File "/usr/lib/python2.7/site-packages/keymon/key_mon.py", line 177, in create_names_to_fnames
    'MOUSE': [self.svg_name('mouse'),],
  File "/usr/lib/python2.7/site-packages/keymon/key_mon.py", line 398, in svg_name
    fullname = os.path.join(themepath, '%s/%s.svg' % fname)
TypeError: not enough arguments for format string

Original issue reported on code.google.com by johannes...@yahoo.com on 23 Oct 2011 at 5:21

GoogleCodeExporter commented 9 years ago
Thanks for finding this bug.

Original comment by scottaki...@gmail.com on 24 Oct 2011 at 1:41

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by scottaki...@gmail.com on 24 Oct 2011 at 1:43