fix loading ballot contract

pull/1/head
yann300 8 years ago
parent 76c46ac193
commit 4546ca310c
  1. 2
      src/app.js

@ -106,7 +106,7 @@ var run = function () {
})
// insert ballot contract if there are no files available
if (!loadingFromGist && (files.list().length === 0)) {
if (!loadingFromGist && Object.keys(files.list()).length === 0) {
files.set(examples.ballot.name, examples.ballot.content)
}

Loading…
Cancel
Save