diff --git a/doc/source/conf.py b/doc/source/conf.py index 114c6de..2966dfe 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -53,7 +53,7 @@ master_doc = 'index' # General information about the project. project = 'larigira' -copyright = '2015-2016, boyska' +copyright = '2015-2017, boyska' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -62,7 +62,7 @@ copyright = '2015-2016, boyska' # The short X.Y version. version = '1.0' # The full version, including alpha/beta/rc tags. -release = '1.0' +release = '1.0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/larigira/dbadmin/suggestions.py b/larigira/dbadmin/suggestions.py index f659442..31ea39e 100644 --- a/larigira/dbadmin/suggestions.py +++ b/larigira/dbadmin/suggestions.py @@ -41,6 +41,8 @@ def get_suggested_dirs(): def get_suggested_scripts(): base = get_conf()['SCRIPTS_PATH'] + if not base or not os.path.isdir(base): + return [] fnames = [f for f in os.listdir(base) if os.access(os.path.join(base, f), os.R_OK | os.X_OK)] return fnames diff --git a/setup.py b/setup.py index f5a6b08..37a63c9 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ class PyTest(TestCommand): sys.exit(errno) setup(name='larigira', - version='1.0', + version='1.0.1', description='A radio automation based on MPD', long_description=read('README.rst'), author='boyska',