mirror of
https://github.com/sabnzbd/sabnzbd.git
synced 2026-09-08 11:44:34 -04:00
Py3: macOS specific fixes
More will be needed
This commit is contained in:
1 parent
5a7e1a1699
commit
8a62e325a1
3 files changed
+4
-1
No files matched your search
@@ -61,6 +61,7 @@ elif os.name == "posix":
|
||||
try:
|
||||
import Foundation
|
||||
import sabnzbd.utils.sleepless as sleepless
|
||||
|
||||
FOUNDATION = True
|
||||
except:
|
||||
pass
|
||||
|
||||
+2
-1
@@ -33,7 +33,8 @@ import logging
|
||||
import sabnzbd
|
||||
import sabnzbd.cfg
|
||||
|
||||
from sabnzbd.filesystem import get_filename, get_ext, diskspace, to_units
|
||||
from sabnzbd.filesystem import get_filename, get_ext, diskspace
|
||||
from sabnzbd.misc import to_units
|
||||
from sabnzbd.constants import VALID_ARCHIVES, VALID_NZB_FILES, MEBI, Status
|
||||
from sabnzbd.panic import launch_a_browser
|
||||
import sabnzbd.notifier as notifier
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
# Needed so the import always works
|
||||
Reference in new issue
Block a user