diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-04-30 17:08:05 +0300 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-04-30 17:08:05 +0300 |
commit | 80c4642152b0d3970caca495ef08c1231bad6c01 (patch) | |
tree | 5c865e048cba412ffcf182cb0454813bbac6d82a | |
parent | 272292ded89beaa2d405a527f859ecb228659b23 (diff) |
Pep88.4.0
-rw-r--r-- | owncloud_news_updater/updaters/cli.py | 2 |
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'] |