- fixed some possible issues due of changes in version 2.0 of Shapely

- removed the import * statement from most of the app
This commit is contained in:
Marius Stanciu
2023-03-06 16:40:49 +02:00
parent 33de5314b1
commit 3b3c87e953
230 changed files with 1253 additions and 15935 deletions

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtGui, QtCore, QtWidgets
from appGUI.GUIElements import FCTable, FCEntry, FCButton, FCFileSaveDialog, GLay, FCLabel
@@ -5,7 +6,8 @@ import sys
import webbrowser
from copy import deepcopy
from datetime import datetime
from datetime import datetime as dt
import gettext
import appTranslation as fcTranslate
import builtins
@@ -284,7 +286,7 @@ class BookmarkManager(QtWidgets.QWidget):
self.app.defaults.report_usage("on_export_bookmarks")
self.app.log.debug("on_export_bookmarks()")
date = str(datetime.today()).rpartition('.')[0]
date = str(dt.today()).rpartition('.')[0]
date = ''.join(c for c in date if c not in ':-')
date = date.replace(' ', '_')