Skip to content

Commit

Permalink
Pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Posselt committed Apr 30, 2016
1 parent 272292d commit 80c4642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owncloud_news_updater/updaters/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 80c4642

Please sign in to comment.