Skip to content

Commit

Permalink
Update selfie/config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tnunamak authored Mar 30, 2024
1 parent 2498e6a commit 527b216
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions selfie/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,6 @@
default_port = 8181


def get_data_root():
os_name = platform.system()

if os_name == 'Darwin': # macOS
data_directory = os.path.expanduser('~/Library/Application Support/Selfie/Data')
elif os_name == 'Windows':
data_directory = os.path.join(os.environ['APPDATA'], 'Selfie', 'Data')
else: # Assume Linux/Unix
data_directory = os.path.expanduser('~/.Selfie/data')

return data_directory


data_root = get_data_dir('Selfie')


Expand Down

0 comments on commit 527b216

Please sign in to comment.