From b0f52b3d5562fbc131ee1bb518677b3bafcfd153 Mon Sep 17 00:00:00 2001
From: Athanasius <github@miggy.org>
Date: Fri, 22 Jan 2021 14:15:32 +0000
Subject: [PATCH] 'import fcntl' failing means we need to lie about no other
 instances.

---
 EDMarketConnector.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/EDMarketConnector.py b/EDMarketConnector.py
index eb9b81eb..2f9a717a 100755
--- a/EDMarketConnector.py
+++ b/EDMarketConnector.py
@@ -177,6 +177,7 @@ if __name__ == '__main__':  # noqa: C901
             except ImportError:
                 logger.warning("Not on win32 and we have no fcntl, can't use a file lock!"
                                "Allowing multiple instances!")
+                return True  # Lie about there being no other instances
 
             try:
                 fcntl.flock(journal_dir_lockfile, fcntl.LOCK_EX | fcntl.LOCK_NB)