Skip to content

Commit

Permalink
initial pass modifying uploader for Mac using PyQt5
Browse files Browse the repository at this point in the history
  • Loading branch information
Laukei committed Jan 2, 2018
1 parent 1ed4419 commit 38db39b
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 72 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import sys
import winreg

if sys.platform == 'win32':
import winreg
elif sys.platform == 'darwin':
pass
else:
raise ImportError


REGISTRY_NAME = 'uploadfarm'

Expand Down
10 changes: 8 additions & 2 deletions sdv-uploader/watcherlib.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import os
import json
import sys

import win32file
import win32con
if sys.platform == 'win32':
import win32file
import win32con
elif sys.platform == 'darwin':
pass
else:
raise ImportError

from database import md5, check_monitor, update_monitor, add_log_entry, get_monitor_data_by_name
from handler import archive
Expand Down
Loading

0 comments on commit 38db39b

Please sign in to comment.