Merge branch 'master' of github.com:jeena/Bungloo

This commit is contained in:
Jeena Paradies 2013-02-23 23:06:37 +01:00
commit a9ad87e5b2
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,3 @@
BSD license
===========
@ -13,7 +12,7 @@ modification, are permitted provided that the following conditions are met:
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither the name of Twittia nor the names of its contributors may
- Neither the name of Bungloo nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.

View file

@ -60,7 +60,8 @@ class Controller(QtCore.QObject):
QtCore.QObject.__init__(self)
self.app = app
os.path.expanduser("~/.bungloo/")
if not os.path.exists(os.path.expanduser("~/.bungloo/")):
os.makedirs(os.path.expanduser("~/.bungloo/"))
self.config_path = os.path.expanduser('~/.bungloo/bungloo.cfg')
if os.access(self.config_path, os.R_OK):

View file

@ -49,7 +49,7 @@ function($) {
hour: "1h",
hours: "%dh",
day: "1 day",
days: "%d day",
days: "%d days",
month: "1 month",
months: "%d months",
year: "1 year",