view backend/AbstractPreferences.py @ 257:75b81da8d7a5

convert the feed entry timestamps to arango compatible date strings in migration
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 12 Mar 2019 02:38:41 +0100
parents f79be01821c4
children 4ca1fac32dde
line wrap: on
line source

# -*- coding: utf-8 -*-

class AbstractPreferences(object):
    HIDE_READ_FEED_ENTRIES = "hideReadFeedEntries"
    PROXY_HOST = "proxyHost"
    SHOW_ONLY_UNREAD_FEEDS = "showOnlyUnreadFeeds"
    START_MAXIMIZED = "startMaximized"
    USE_PROXY = "useProxy"

    def isProxyConfigured(self):
        return self.proxyHost() is not None