Commit 941db9f5 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

Don't use relative imports

parent 73de4274
Pipeline #84942 passed with stages
in 10 minutes and 52 seconds
......@@ -68,7 +68,7 @@ class AddAccountWindow(Gtk.Window):
def _on_add(self, *_):
from .list import AccountsWidget
from ...models import AccountsManager, Account
from Authenticator.models import AccountsManager, Account
account_obj = self.account_config.account
# Create a new account
account = Account.create(account_obj["username"],
......@@ -227,7 +227,7 @@ class AccountConfig(Gtk.Box):
Scans a QRCode and fills the entries with the correct data.
from ...models import QRReader, GNOMEScreenshot
from Authenticator.models import QRReader, GNOMEScreenshot
filename = GNOMEScreenshot.area()
if filename:
qr_reader = QRReader(filename)
......@@ -106,7 +106,7 @@ class AccountRow(Gtk.ListBoxRow, GObject.GObject):
Edit Button clicked signal handler.
Opens a new Window to edit the current account.
from ..window import Window
from Authenticator.widgets import Window
main_window = Window.get_default()
edit_window = EditAccountWindow(self._account)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment