flake8
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
from qgis.core import QgsApplication
|
||||
|
||||
|
||||
def gitea():
|
||||
file_url = QgsApplication.qgisSettingsDirPath()+'QGIS/QGIS3.ini'
|
||||
file_url = QgsApplication.qgisSettingsDirPath() + 'QGIS/QGIS3.ini'
|
||||
recherche_1 = 'plugin_repositories\\github\\url=https://github.com/CEN-Rhone-Alpes/Plugin_QGIS/releases/latest/download/plugins.xml'
|
||||
replace_1 = 'plugin_repositories\\gitea\\url=https://gitea.cenra-outils.org/CEN-RA/Plugin_QGIS/releases/download/latest/plugins.xml'
|
||||
|
||||
@@ -18,4 +19,4 @@ def gitea():
|
||||
|
||||
# Write the file out again
|
||||
with open(file_url, 'w') as file:
|
||||
file.write(filedata)
|
||||
file.write(filedata)
|
||||
|
||||
Reference in New Issue
Block a user