From 0902a9b989833463a8b0a450e7de4b8e2b6756e9 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 27 Aug 2020 12:30:08 +0000 Subject: [PATCH] version 1.4.1 --- .config | 3 --- inary/__init__.py | 2 +- setup.py | 8 ++++---- 3 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 .config diff --git a/.config b/.config deleted file mode 100644 index 829615f2..00000000 --- a/.config +++ /dev/null @@ -1,3 +0,0 @@ -#inary config file -NLS_SUPPORT=y -ADDITIONAL_SCRIPTS=y diff --git a/inary/__init__.py b/inary/__init__.py index 31cf347a..24141602 100644 --- a/inary/__init__.py +++ b/inary/__init__.py @@ -21,7 +21,7 @@ import logging.handlers import os import sys -__version__ = "1.4" +__version__ = "1.4.1" __all__ = ['api', 'configfile', 'db', 'util', '_cleanup'] diff --git a/setup.py b/setup.py index d87f41a2..f9462ba7 100644 --- a/setup.py +++ b/setup.py @@ -36,12 +36,12 @@ MIMEFILE_DIR = "/usr/share/mime/packages" TMPFILES_DIR = "/usr/lib/tmpfiles.d" #config file -if not os.path.isfile(".config"): - print("No config file found. You must run ./configure first.") - exit(127) -cfg=open(".config","r").readlines() +if os.path.isfile(".config"): + cfg=open(".config","r").readlines() def getConfig(name=""): + if not os.path.isfile(".config"): + return True for line in cfg: if name in line: return "y" in line.split("=")[1] -- 2.18.1