Skip to content
Snippets Groups Projects
Commit f0e39377 authored by Haak, R. (Romeo)'s avatar Haak, R. (Romeo)
Browse files

Fixed typo and made a line more PEP-8

parent 16e37e4c
No related branches found
No related tags found
1 merge request!82Sc 129/wrapper
from filereader import CSVReader
from filereader import CSVWriter
from filereader import CSVWriter, TxtWriter
from utils import Utils as ut
import os
import numpy as np
......@@ -28,7 +28,7 @@ class Controller:
return self._source_files
@source_files.setter
def shadow_files(self, val):
def source_files(self, val):
self._source_files = val
@property
......@@ -121,9 +121,11 @@ class Controller:
files.remove(s)
self._view.button_status("select {}".format(type), "normal")
else:
selection = [file for file in files if selection.lower() in file.lower()][0]
selection = [file for file in files if selection.lower() in
file.lower()][0]
files.remove(selection)
self._view.button_status("select_folder {}".format(type), "normal")
self._view.button_status("select_folder {}".format(type),
"normal")
self._view.update_files(files, type)
def _compare_files(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment