diff --git a/.gitignore b/.gitignore index 0d20b64..830963a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ *.pyc +.idea/misc.xml +*.xml +*.iml diff --git a/WindowsRegistry.py b/WindowsRegistry.py index 0ea0a44..020dfcb 100755 --- a/WindowsRegistry.py +++ b/WindowsRegistry.py @@ -1,6 +1,7 @@ import sys import _winreg as wreg import cPickle as pickle +import platform class WindowsRegistry: """ A class to simplify read/write access to the Windows Registry """ @@ -58,7 +59,10 @@ def __init__(self, company="RealVNC", project="WinVNC4", create=0): i=0 while not_opened and i