Fixed some issues in the built version

This commit is contained in:
2016-06-02 17:42:44 -05:00
parent 8e8922b78e
commit 5ac17087f4
7 changed files with 48 additions and 11 deletions

View File

@@ -1,6 +1,9 @@
# -*- coding: utf-8 -*-
import sys
import fix_requests
import fix_win32com
def setup():
fix_requests.fix()
if hasattr(sys, "frozen"):
fix_win32com.fix()

View File

@@ -0,0 +1,5 @@
import win32com.client
def fix():
if win32com.client.gencache.is_readonly == True:
win32com.client.gencache.is_readonly = False
win32com.client.gencache.Rebuild()