diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/file_list.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/file_list.py b/module/file_list.py index d0ad13860..d2a634645 100644 --- a/module/file_list.py +++ b/module/file_list.py @@ -40,6 +40,9 @@ class File_List(object): return pyfile def append(self, url): + if not url: + return False + new_file = self.new_pyfile(url) self.files.append(new_file) self.data[new_file.id] = Data(url) |