Skip to content

Commit eda72a4

Browse files
committed
fixup! Catch 'None' Name Parameter for format_filename()
1 parent 3685824 commit eda72a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Search-Engine-and-Crawler/Crawler/crawlerExpand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def format_filename(name):
191191
filename = filename.strip()
192192
filename = filename.replace(' ','_')
193193
except TypeError as e:
194-
filename = uuid.uuid4()
194+
filename = str(uuid.uuid4())
195195
logging.error("Got and error: {}".format(str(e)))
196196
return filename
197197

0 commit comments

Comments
 (0)