Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def run_katana(url):
|
|
15 |
filename = f"katana_results_{url.replace('://', '_').replace('/', '_')}.txt"
|
16 |
|
17 |
return result.stdout, (buffer, filename)
|
18 |
-
|
19 |
return str(e), None
|
20 |
|
21 |
def process_and_display(url):
|
|
|
15 |
filename = f"katana_results_{url.replace('://', '_').replace('/', '_')}.txt"
|
16 |
|
17 |
return result.stdout, (buffer, filename)
|
18 |
+
except Exception as e:
|
19 |
return str(e), None
|
20 |
|
21 |
def process_and_display(url):
|