|
@ -363,7 +363,7 @@ def new_parse(marketPlace, url, createLog): |
|
|
# move listing files of completed folder |
|
|
# move listing files of completed folder |
|
|
move_file(listingFile, createLog, logFile) |
|
|
move_file(listingFile, createLog, logFile) |
|
|
|
|
|
|
|
|
# registering the current forum status (up/down) in the database |
|
|
|
|
|
|
|
|
# registering the current market status (up/down) in the database |
|
|
marketId = verifyMarketPlace(cur, marketPlace) |
|
|
marketId = verifyMarketPlace(cur, marketPlace) |
|
|
if (marketId > 0): |
|
|
if (marketId > 0): |
|
|
create_status(cur, marketId, CURRENT_DATE, '1' if len(listings) > 0 else '0') |
|
|
create_status(cur, marketId, CURRENT_DATE, '1' if len(listings) > 0 else '0') |
|
|