Browse Source

campaign: end dt is no longer required to have timezone info

Fabian Peter Hammerle 7 years ago
parent
commit
03b987bd9b
2 changed files with 1 additions and 2 deletions
  1. 0 1
      finoex/__init__.py
  2. 1 1
      setup.py

+ 0 - 1
finoex/__init__.py

@@ -261,7 +261,6 @@ class Campaign(_Object, _YamlInitConstructor):
         self.founder = founder
         if not end is None:
             assert type(end) is datetime.datetime
-            assert not end.tzinfo is None, '%r' % end
             self.end = end
         if not website_url is None:
             assert type(website_url) is str

+ 1 - 1
setup.py

@@ -4,7 +4,7 @@ import glob
 
 setup(
     name = 'finoex',
-    version = '0.9.0',
+    version = '0.9.1',
     # description = '',
     author = 'Fabian Peter Hammerle',
     author_email = 'fabian.hammerle@gmail.com',