From 873caf6084edce42b705ddc516be24163619cb14 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 20 Jun 2009 23:11:13 +0200 Subject: cli able to add links --- module/file_list.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module') 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) -- cgit v1.2.3