summaryrefslogtreecommitdiff
path: root/src/main/python/utils/funcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/python/utils/funcs.py')
-rw-r--r--src/main/python/utils/funcs.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/python/utils/funcs.py b/src/main/python/utils/funcs.py
index 7796ece..9f38554 100644
--- a/src/main/python/utils/funcs.py
+++ b/src/main/python/utils/funcs.py
@@ -1,5 +1,6 @@
-from itertools import zip_longest
+from fbs_runtime.application_context.PyQt5 import ApplicationContext
-def grouper(n, iterable, fillvalue=None):
- args = [iter(iterable)] * n
- return zip_longest(fillvalue=fillvalue, *args) \ No newline at end of file
+importTool = ApplicationContext()
+
+def fileImporter(file):
+ return importTool.get_resource(file) \ No newline at end of file