Spaces:
Sleeping
Sleeping
Commit
·
9faf6e5
1
Parent(s):
10e7682
Pass
Browse files- execute.py +1 -1
execute.py
CHANGED
|
@@ -257,7 +257,7 @@ def unsafe_execute_rust(check_program, result, timeout):
|
|
| 257 |
|
| 258 |
# Check if Cargo exists, if so copy it here
|
| 259 |
if os.path.exists("/Cargo.toml"):
|
| 260 |
-
|
| 261 |
else:
|
| 262 |
# Warn that no Cargo was found in the parent directory
|
| 263 |
logging.warning(f"Cargo.toml not found in root directory ({os.path.abspath('/')}). Creating a new one. Timeout of >300 is recommended.")
|
|
|
|
| 257 |
|
| 258 |
# Check if Cargo exists, if so copy it here
|
| 259 |
if os.path.exists("/Cargo.toml"):
|
| 260 |
+
pass
|
| 261 |
else:
|
| 262 |
# Warn that no Cargo was found in the parent directory
|
| 263 |
logging.warning(f"Cargo.toml not found in root directory ({os.path.abspath('/')}). Creating a new one. Timeout of >300 is recommended.")
|