Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news-updater.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-04-30 17:08:05 +0300
committerBernhard Posselt <dev@bernhard-posselt.com>2016-04-30 17:08:05 +0300
commit80c4642152b0d3970caca495ef08c1231bad6c01 (patch)
tree5c865e048cba412ffcf182cb0454813bbac6d82a
parent272292ded89beaa2d405a527f859ecb228659b23 (diff)
Pep88.4.0
-rw-r--r--owncloud_news_updater/updaters/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/owncloud_news_updater/updaters/cli.py b/owncloud_news_updater/updaters/cli.py
index 932ad26..71ebd11 100644
--- a/owncloud_news_updater/updaters/cli.py
+++ b/owncloud_news_updater/updaters/cli.py
@@ -46,7 +46,7 @@ class CliApi(Api):
def __init__(self, directory, phpini):
self.directory = directory.rstrip('/')
base_command = ['php', '-f', self.directory + '/occ']
- if phpini != None and phpini.strip() != '':
+ if phpini is not None and phpini.strip() != '':
base_command += ['-c', phpini]
self.before_cleanup_command = base_command + [
'news:updater:before-update']