src/eric7/WebBrowser/Passwords/PasswordManager.py

branch
eric7
changeset 10926
9ef616cd220d
parent 10439
21c28b0f9e41
child 10938
2a7e115e2198
equal deleted inserted replaced
10925:22c3928a1ab5 10926:9ef616cd220d
18 pyqtSignal, 18 pyqtSignal,
19 ) 19 )
20 from PyQt6.QtWebEngineCore import QWebEngineScript 20 from PyQt6.QtWebEngineCore import QWebEngineScript
21 from PyQt6.QtWidgets import QApplication 21 from PyQt6.QtWidgets import QApplication
22 22
23 from eric7 import Globals, Preferences 23 from eric7 import EricUtilities, Preferences
24 from eric7.EricWidgets import EricMessageBox 24 from eric7.EricWidgets import EricMessageBox
25 from eric7.EricWidgets.EricProgressDialog import EricProgressDialog 25 from eric7.EricWidgets.EricProgressDialog import EricProgressDialog
26 from eric7.Utilities import crypto 26 from eric7.Utilities import crypto
27 from eric7.Utilities.AutoSaver import AutoSaver 27 from eric7.Utilities.AutoSaver import AutoSaver
28 from eric7.WebBrowser.Tools import Scripts 28 from eric7.WebBrowser.Tools import Scripts
154 Public method to get the file name of the passwords file. 154 Public method to get the file name of the passwords file.
155 155
156 @return name of the passwords file 156 @return name of the passwords file
157 @rtype str 157 @rtype str
158 """ 158 """
159 return os.path.join(Globals.getConfigDir(), "web_browser", "logins.xml") 159 return os.path.join(EricUtilities.getConfigDir(), "web_browser", "logins.xml")
160 160
161 def save(self): 161 def save(self):
162 """ 162 """
163 Public slot to save the login entries to disk. 163 Public slot to save the login entries to disk.
164 """ 164 """

eric ide

mercurial