Commits

Cédric Bonhomme committed 938d7c0

Fixed import of rotor (there wan an import error with Python 3).

  • Participants
  • Parent commits d65c86b

Comments (0)

Files changed (1)

pyenigma/enigma.py

 #! /usr/bin/env python
 #-*- coding: utf-8 -*-
 
-from rotor import *
+from pyenigma.rotor import *
 
 class Enigma(object):
     """
         Reflector: %s
         Rotor 1: %s
         Rotor 2: %s
-        Rotor 3: %s""" % (self.reflector, self.rotor1, self.rotor2, self.rotor3)
+        Rotor 3: %s""" % (self.reflector, self.rotor1, self.rotor2, self.rotor3)