You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
found a workaround, if i just delete the QStandardPaths.standardLocation(QStandardPaths.DesktopLocation) from line 302 it allows me to save the html anywhere, if i remove it in 315 its still broken for the image though
error and crashes when trying to save html/image
Caught exception:
Traceback (most recent call last):
File "C:\Users\xxxxxx\AppData\Roaming\Anki2\addons21\1469765093_init_.py", line 290, in
sh = QPushButton("Save HTML", clicked=lambda: self.savehtml(config))
File "C:\Users\xxxxxx\AppData\Roaming\Anki2\addons21\1469765093_init_.py", line 302, in savehtml
fileName = QFileDialog.getSaveFileName(self.win, "Save Page", QStandardPaths.standardLocations(QStandardPaths.DesktopLocation)[0], "Web Page (*.html *.htm)")[0]
AttributeError: type object 'QStandardPaths' has no attribute 'DesktopLocation'
The text was updated successfully, but these errors were encountered: