MappiaEarth / mappia_publisher

Share your maps online, just create the layout in QGIS and use this plugin to easily publish it online.
http://mappia.earth
GNU General Public License v2.0
3 stars 3 forks source link

Typo in keyword argument #9

Closed ConnectedSystems closed 3 months ago

ConnectedSystems commented 9 months ago

https://github.com/MappiaEarth/mappia_publisher/blob/9ef258e667300760f04c83ebc0e84c5cef68da01/mappia_publisher/mappia_publisher_algorithm.py#L795

buttocsns should be buttons

Leads to this error in QGIS:

Traceback (most recent call last):
File "C:\Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 757, in prepareAlgorithm
if (not GitHub.existsRepository(ghUser, ghRepository, ghPassword)) and mustAskUser and (QMessageBox.Yes != QMessageBox.question(
TypeError: question(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.StandardButtons(QMessageBox.Yes|QMessageBox.No), defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton): 'buttocsns' is not a valid keyword argument

Execution failed after 1.51 seconds