Able to load non .csv files from UI
This commit is contained in:
parent
cd0e41b8d7
commit
92adb10bc6
@ -330,6 +330,8 @@ class relForm(QtWidgets.QMainWindow):
|
|||||||
|
|
||||||
if (name.endswith(".csv")): # removes the extension
|
if (name.endswith(".csv")): # removes the extension
|
||||||
name = name[:-4]
|
name = name[:-4]
|
||||||
|
else:
|
||||||
|
name.replace('.','')
|
||||||
|
|
||||||
if not rtypes.is_valid_relation_name(name):
|
if not rtypes.is_valid_relation_name(name):
|
||||||
r = QtWidgets.QApplication.translate(
|
r = QtWidgets.QApplication.translate(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user