From 420c02a0fa90dc270b8d4ef16a61765d2fe5938e Mon Sep 17 00:00:00 2001 From: Martijn Alberts Date: Thu, 23 May 2019 18:13:47 +0200 Subject: [PATCH] Remove version check for server --- webapp_admin/webapp_admin.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/webapp_admin/webapp_admin.py b/webapp_admin/webapp_admin.py index d59e913..2d27181 100755 --- a/webapp_admin/webapp_admin.py +++ b/webapp_admin/webapp_admin.py @@ -487,11 +487,8 @@ def main(): if not options.users and not options.all_users: print('There are no users specified. Use "--all-users" to run for all users') sys.exit(1) - # Since kopano 8.7.0 Server is renamed to server check with one we need to use - if parse_version(kopano.__version__) > parse_version('8.7.0'): - server = kopano.server(options) - else: - server = kopano.Server(options) + + server = kopano.Server(options) for user in server.users(options.users): # Backup and restore