Skip to content

Commit

Permalink
Backend a;skjd;laksjd;lajsn
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow committed Sep 14, 2017
1 parent 71b6b88 commit 83039cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,8 @@ function loadGames(dir, master_callback) {
if (data.game_screenshot_urls && data.game_screenshot_urls !== '') {
fs.ensureDirSync(DATA_ROOT + 'cache/images/' + data.game_title_id + '/screenshots');
var urls = data.game_screenshot_urls.split('|');
if (!urls) return cb(null, data, name, is_wud);
console.log(urls);
async.each(urls, (url, sc_callback) => {
if (!url) return cb(null, data, name, is_wud);
var req = request(url);

req.on('error', (error) => {
Expand Down

0 comments on commit 83039cd

Please sign in to comment.