Commits

yedpodtrzitko  committed fb2afa0

remove forgotten config

  • Participants
  • Parent commits f6ba39f

Comments (0)

Files changed (1)

File bin/sanomamags/app/config.py

-URL_FEED = 'http://chutastyl.cz/feeds/'
-DATABASE = 'data/data.db'
-IMAGE_DIR = 'data/images'
-
-MAKE_SCHEMA = '''CREATE TABLE IF NOT EXISTS entries (
-    url     TEXT PRIMARY KEY,
-    title   TEXT,
-    pubtime INTEGER,
-    image   TEXT,
-    summary TEXT,
-    tags    TEXT
-    )
-'''
-
-LOAD_ENTRIES = '''SELECT * FROM entries'''
-ADD_ENTRY = '''INSERT INTO entries VALUES (:url, :title, :pubtime, :image, :summary, :tags)'''
-
-EXTENSIONS = {
-    'image/jpeg': '.jpg',
-    'image/png': '.png',
-}