title: ValueError: need more than 3 values to unpack
body: <p>I'm struggling about this <code>ValueError</code>, it happens when I want to define an <code>init_db</code> function with resetting the database and adding some data from local document (<code>hardwarelist.txt</code>), the code was:</p>
  
  <pre><code>def init_db():
      """Initializes the database."""
      db = get_db()
      with app.open_resource('schema.sql', mode='r') as f:
          db.cursor().executescript(f.read())
      with open('hardwarelist.txt') as fl:
          for eachline in fl:
             (model,sn,user,status)=eachline.split(',')
             db.execute('insert into entries (model,sn,user,status) values (?, ?, ?, ?)',
                            (model,sn,user,status))
      fl.close()
      db.commit()
  </code></pre>
  
  <p>And the error was:</p>
  
  <pre><code>File "/home/ziyma/Heroku_pro/flaskr/flaskr/flaskr.py", line 48, in init_db
      (model,sn,user,status)=eachline.split(',')
  ValueError: need more than 3 values to unpack
  </code></pre>
  
  <p>What should I do?</p>