Przeglądaj źródła

Merge branch 'hotfix/1.0.1'

boyska 7 lat temu
rodzic
commit
b6e9875977
3 zmienionych plików z 5 dodań i 3 usunięć
  1. 2 2
      doc/source/conf.py
  2. 2 0
      larigira/dbadmin/suggestions.py
  3. 1 1
      setup.py

+ 2 - 2
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.

+ 2 - 0
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

+ 1 - 1
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',