mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
pin fcntl, which went missing on Linux in a recent update
This commit is contained in:
parent
242cf0eefb
commit
d0ec26709b
1 changed files with 4 additions and 1 deletions
|
@ -22,10 +22,13 @@ import uuid
|
||||||
|
|
||||||
import PyQt5.QtSvg
|
import PyQt5.QtSvg
|
||||||
|
|
||||||
from anki.utils import isWin
|
from anki.utils import isLin, isWin
|
||||||
|
|
||||||
# external module access in Windows
|
# external module access in Windows
|
||||||
if isWin:
|
if isWin:
|
||||||
import pythoncom
|
import pythoncom
|
||||||
import win32com
|
import win32com
|
||||||
import pywintypes
|
import pywintypes
|
||||||
|
|
||||||
|
if isLin:
|
||||||
|
import fcntl
|
||||||
|
|
Loading…
Reference in a new issue