We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 567a938 commit 04b1f1aCopy full SHA for 04b1f1a
eventsapp/uix/screens/screenregister.py
@@ -17,7 +17,7 @@ class ScreenRegister(Factory.Screen):
17
:attr:`_data` is a :type:`String`, defaults to False.
18
'''
19
20
- data_file_dir = StringProperty('data/registeration')
+ data_file_dir = StringProperty('data')
21
'''This is the data dir where the registeration data is stored.
22
All csv files should be present in this folder.
23
@@ -208,6 +208,9 @@ def show_file_chooser(self):
208
209
def on_data_file_dir(self, instance, data_file_dir):
210
# read csv file here
211
+ if not os.path.exists(data_file_dir):
212
+ return
213
+
214
_data = {}
215
for fl in os.listdir(data_file_dir):
216
if not fl.endswith('.csv'):
0 commit comments