fix a few bugs and remove unused imports
This commit is contained in:
parent
b877310f02
commit
d3a31fc72d
6 changed files with 3 additions and 7 deletions
|
@ -10,7 +10,6 @@
|
|||
"""
|
||||
|
||||
import logging
|
||||
import os
|
||||
|
||||
|
||||
log = logging.getLogger('WakaTime')
|
||||
|
|
|
@ -34,7 +34,7 @@ class WakaTime(BaseProject):
|
|||
with open(self.config, 'r', encoding='utf-8') as fh:
|
||||
self._project_name = u(fh.readline().strip())
|
||||
self._project_branch = u(fh.readline().strip())
|
||||
except IOError as e:
|
||||
except IOError:
|
||||
log.exception("Exception:")
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue