summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/gtk3/__init__.py')
-rw-r--r--deluge/ui/gtk3/__init__.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/deluge/ui/gtk3/__init__.py b/deluge/ui/gtk3/__init__.py
index 8e8b19613..8db2773e4 100644
--- a/deluge/ui/gtk3/__init__.py
+++ b/deluge/ui/gtk3/__init__.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
#
# Copyright (C) 2007-2009 Andrew Resch <andrewresch@gmail.com>
#
@@ -7,8 +6,6 @@
# See LICENSE for more details.
#
-from __future__ import unicode_literals
-
import logging
from os import environ
@@ -25,7 +22,7 @@ class Gtk(UI):
cmd_description = """GTK-based graphical user interface"""
def __init__(self, *args, **kwargs):
- super(Gtk, self).__init__(
+ super().__init__(
'gtk', *args, description='Starts the Deluge GTK+ interface', **kwargs
)
@@ -42,7 +39,7 @@ class Gtk(UI):
)
def start(self):
- super(Gtk, self).start()
+ super().start()
import deluge.common
from .gtkui import GtkUI