mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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
|
||||
|
||||
from anki.utils import isWin
|
||||
from anki.utils import isLin, isWin
|
||||
|
||||
# external module access in Windows
|
||||
if isWin:
|
||||
import pythoncom
|
||||
import win32com
|
||||
import pywintypes
|
||||
|
||||
if isLin:
|
||||
import fcntl
|
||||
|
|
Loading…
Reference in a new issue