Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Settings.py « src « CuraDrive « plugins - github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 56158922dc7ad19e6dfb7cab0f62aa2a48dafdcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright (c) 2018 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.

from cura.UltimakerCloud import UltimakerCloudConstants


class Settings:
    # Keeps the plugin settings.
    DRIVE_API_VERSION = 1
    DRIVE_API_URL = "{}/cura-drive/v{}".format(UltimakerCloudConstants.CuraCloudAPIRoot, str(DRIVE_API_VERSION))

    AUTO_BACKUP_ENABLED_PREFERENCE_KEY = "cura_drive/auto_backup_enabled"
    AUTO_BACKUP_LAST_DATE_PREFERENCE_KEY = "cura_drive/auto_backup_date"