Browse Source

Обновил переменые дефолтные

Alex Sidorov 1 year ago
parent
commit
bfead6b55b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      init_var.py

+ 3 - 1
init_var.py

@@ -9,12 +9,14 @@ DEFAULT_PATH = os.path.join(appdirs.user_data_dir(), "propusk")
 DEFAULT_PATH_PHOTO = os.path.join(DEFAULT_PATH, "photo")
 DEFAULT_PATH_PHOTO = os.path.join(DEFAULT_PATH, "photo")
 
 
 no_media = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'image', 'no_media_main.jpg')
 no_media = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'image', 'no_media_main.jpg')
+
 os.environ.update({
 os.environ.update({
     'VERSION': "ver 0.4 beta",
     'VERSION': "ver 0.4 beta",
     'ABSOLUTE_PATH': os.path.dirname(os.path.abspath(__file__)),
     'ABSOLUTE_PATH': os.path.dirname(os.path.abspath(__file__)),
     'NO_MEDIA_IMAGE': no_media,
     'NO_MEDIA_IMAGE': no_media,
     'INDEX_PHOTO': '0',
     'INDEX_PHOTO': '0',
-    'INDEX_CAMERA': '1'
+    'INDEX_CAMERA': '1',
+    'DEFAULT_PATH': '/home/asidorov/Документы/propusk_db'
 })
 })
 
 
 def load_variables():
 def load_variables():