import os
import platform
from hatarake.version import __version__

ISSUES_LINK = 'https://github.com/kfdm/hatarake/issues'
ISSUES_API = 'https://api.github.com/repos/kfdm/hatarake/issues?state=open'

USER_AGENT = 'Hatarake/%s https://github.com/kfdm/hatarake' % __version__

GROWL_INTERVAL = 30

if 'Darwin' in platform.uname():
    CONFIG_PATH = os.path.join(
        os.path.expanduser("~"),
        'Library',
        'Application Support',
        'Hatarake',
        'config.ini'
    )
else:
    CONFIG_PATH = os.path.join(
        os.path.expanduser("~"),
        '.config',
        'Hatarake',
        'config.ini',
    )

import os
import platform
from hatarake.version import __version__

ISSUES_LINK = 'https://github.com/kfdm/hatarake/issues'
ISSUES_API = 'https://api.github.com/repos/kfdm/hatarake/issues?state=open'

USER_AGENT = 'Hatarake/%s https://github.com/kfdm/hatarake' % __version__

GROWL_INTERVAL = 30

if 'Darwin' in platform.uname():
    CONFIG_PATH = os.path.join(
        os.path.expanduser("~"),
        'Library',
        'Application Support',
        'Hatarake',
        'config.ini'
    )
    DB_PATH = os.path.join(
        os.path.expanduser("~"),
        'Library',
        'Application Support',
        'Hatarake',
        'history.db'
    )
else:
    CONFIG_PATH = os.path.join(
        os.path.expanduser("~"),
        '.config',
        'Hatarake',
        'config.ini',
    )
    DB_PATH = os.path.join(
        os.path.expanduser("~"),
        '.config',
        'Hatarake',
        'history.db',
    )

Add path for sqlite file
Add path for sqlite file

  import os
  import platform
  from hatarake.version import __version__
  
  ISSUES_LINK = 'https://github.com/kfdm/hatarake/issues'
  ISSUES_API = 'https://api.github.com/repos/kfdm/hatarake/issues?state=open'
  
  USER_AGENT = 'Hatarake/%s https://github.com/kfdm/hatarake' % __version__
  
  GROWL_INTERVAL = 30
  
  if 'Darwin' in platform.uname():
      CONFIG_PATH = os.path.join(
          os.path.expanduser("~"),
          'Library',
          'Application Support',
          'Hatarake',
          'config.ini'
      )
+     DB_PATH = os.path.join(
+         os.path.expanduser("~"),
+         'Library',
+         'Application Support',
+         'Hatarake',
+         'history.db'
+     )
  else:
      CONFIG_PATH = os.path.join(
          os.path.expanduser("~"),
          '.config',
          'Hatarake',
          'config.ini',
      )
+     DB_PATH = os.path.join(
+         os.path.expanduser("~"),
+         '.config',
+         'Hatarake',
+         'history.db',
+     )
  
Add path for sqlite file
## Code Before:
import os
import platform
from hatarake.version import __version__

ISSUES_LINK = 'https://github.com/kfdm/hatarake/issues'
ISSUES_API = 'https://api.github.com/repos/kfdm/hatarake/issues?state=open'

USER_AGENT = 'Hatarake/%s https://github.com/kfdm/hatarake' % __version__

GROWL_INTERVAL = 30

if 'Darwin' in platform.uname():
    CONFIG_PATH = os.path.join(
        os.path.expanduser("~"),
        'Library',
        'Application Support',
        'Hatarake',
        'config.ini'
    )
else:
    CONFIG_PATH = os.path.join(
        os.path.expanduser("~"),
        '.config',
        'Hatarake',
        'config.ini',
    )

## Instruction:
Add path for sqlite file
## Code After:
import os
import platform
from hatarake.version import __version__

ISSUES_LINK = 'https://github.com/kfdm/hatarake/issues'
ISSUES_API = 'https://api.github.com/repos/kfdm/hatarake/issues?state=open'

USER_AGENT = 'Hatarake/%s https://github.com/kfdm/hatarake' % __version__

GROWL_INTERVAL = 30

if 'Darwin' in platform.uname():
    CONFIG_PATH = os.path.join(
        os.path.expanduser("~"),
        'Library',
        'Application Support',
        'Hatarake',
        'config.ini'
    )
    DB_PATH = os.path.join(
        os.path.expanduser("~"),
        'Library',
        'Application Support',
        'Hatarake',
        'history.db'
    )
else:
    CONFIG_PATH = os.path.join(
        os.path.expanduser("~"),
        '.config',
        'Hatarake',
        'config.ini',
    )
    DB_PATH = os.path.join(
        os.path.expanduser("~"),
        '.config',
        'Hatarake',
        'history.db',
    )
